Class LicenseInfo
- java.lang.Object
-
- se.ayoy.maven.plugins.licenseverifier.LicenseInfo.LicenseInfo
-
public class LicenseInfo extends Object
Represents a license with information.
-
-
Constructor Summary
Constructors Constructor Description LicenseInfo(String name, String url, LicenseInfoStatusEnum infoStatus)Initialize the instance from raw information.LicenseInfo(Node node, LicenseInfoStatusEnum status)Initialize the instance from XML.
-
-
-
Constructor Detail
-
LicenseInfo
public LicenseInfo(Node node, LicenseInfoStatusEnum status)
Initialize the instance from XML.- Parameters:
node- The XML node to read from.status- The status of the license.
-
LicenseInfo
public LicenseInfo(String name, String url, LicenseInfoStatusEnum infoStatus)
Initialize the instance from raw information.- Parameters:
name- The name of the license.url- The URL of the license.infoStatus- The status of the licence.
-
-
Method Detail
-
getName
public String getName()
-
getStatus
public LicenseInfoStatusEnum getStatus()
-
-