Class Dependency
java.lang.Object
fr.paris.lutece.plugins.releaser.business.Dependency
This is the business class for the object Dependency
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the ArtifactIdReturns the GroupIdintgetId()Returns the IdgetType()Returns the TypeReturns the VersionReturns the name of the POM property holding the version, null when the version is written in the declarationvoidsetArtifactId(String strArtifactId) Sets the ArtifactIdvoidsetGroupId(String strGroupId) Sets the GroupIdvoidsetId(int nId) Sets the IdvoidSets the TypevoidsetVersion(String strVersion) Sets the VersionvoidsetVersionProperty(String strVersionProperty) Sets the name of the POM property holding the version
-
Constructor Details
-
Dependency
public Dependency()
-
-
Method Details
-
getId
public int getId()Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId) Sets the Id- Parameters:
nId- The Id
-
getGroupId
Returns the GroupId- Returns:
- The GroupId
-
setGroupId
Sets the GroupId- Parameters:
strGroupId- The GroupId
-
getArtifactId
Returns the ArtifactId- Returns:
- The ArtifactId
-
setArtifactId
Sets the ArtifactId- Parameters:
strArtifactId- The ArtifactId
-
getVersion
Returns the Version- Returns:
- The Version
-
setVersion
Sets the Version- Parameters:
strVersion- The Version
-
getVersionProperty
Returns the name of the POM property holding the version, null when the version is written in the declaration- Returns:
- The version property name
-
setVersionProperty
Sets the name of the POM property holding the version- Parameters:
strVersionProperty- The version property name
-
getType
Returns the Type- Returns:
- The Type
-
setType
Sets the Type- Parameters:
strType- The Type
-