Class Component
- java.lang.Object
-
- fr.paris.lutece.plugins.releaser.business.AbstractReleaserResource
-
- fr.paris.lutece.plugins.releaser.business.Component
-
- All Implemented Interfaces:
IReleaserResource,fr.paris.lutece.portal.service.rbac.RBACResource
public class Component extends AbstractReleaserResource implements fr.paris.lutece.portal.service.rbac.RBACResource
This is the business class for the object Component.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPERMISSION_SEARCH_COMPONENTstatic java.lang.StringRESOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description Component()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArtifactId()Returns the ArtifactId.java.util.List<java.lang.String>getBranches()java.lang.StringgetBranchReleaseFrom()java.lang.StringgetBranchReleaseVersion()java.lang.StringgetCloneUrl()Gets the clone url.java.lang.StringgetCurrentVersion()Returns the CurrentVersion.java.lang.StringgetFullName()Gets the full name.java.lang.StringgetGroupId()Returns the GroupId.java.lang.StringgetJiraCode()Returns the JiraCode.intgetJiraCurrentVersionClosedIssues()Returns the JiraCurrentVersionClosedIssues.intgetJiraCurrentVersionOpenedIssues()Returns the JiraCurrentVersionOpenedIssues.java.lang.StringgetJiraRoadmapUrl()Returns the JiraRoadmapUrl.java.lang.StringgetLastAvailableSnapshotVersion()Gets the last available snapshot version.java.lang.StringgetLastAvailableVersion()Returns the LastAvailableVersion.java.lang.StringgetName()Gets the name.java.lang.StringgetNextSnapshotVersion()Returns the NextSnapshotVersion.java.util.HashMap<java.lang.String,java.lang.Boolean>getPermissions()java.lang.StringgetResourceId()java.lang.StringgetResourceTypeCode()java.lang.StringgetScmDeveloperConnection()Gets the scm developer connection.java.lang.StringgetScmUrl()Gets the scm url.java.lang.StringgetTargetJdk()java.lang.StringgetTargetVersion()Returns the TargetVersion.intgetTargetVersionIndex()Get the target version index.java.util.List<java.lang.String>getTargetVersions()Gets the target versions list.java.lang.StringgetTweetMessage()Gets the tweet message.java.lang.StringgetType()Returns the Type.booleanisDowngrade()Checks if is downgrade.booleanisErrorLastRelease()Checks if is error last release.booleanisProject()Returns the IsProject.booleanisSnapshotVersion()Checks if is snapshot version.booleanisTheme()Checks if is theme.booleanisUpgrade()Checks if is upgrade.voidsetArtifactId(java.lang.String strArtifactId)Sets the ArtifactId.voidsetBranches(java.util.List<java.lang.String> listBranches)voidsetBranchReleaseFrom(java.lang.String _strBranchReleaseFrom)voidsetBranchReleaseVersion(java.lang.String _strBranchReleaseVersion)voidsetCloneUrl(java.lang.String _strCloneUrl)Sets the clone url.voidsetCurrentVersion(java.lang.String strCurrentVersion)Sets the CurrentVersion.voidsetDowngrade(boolean _bDowngrade)Sets the downgrade.voidsetErrorLastRelease(boolean _bErrorLastRelease)Sets the error last release.voidsetFullName(java.lang.String strFullName)Sets the full name.voidsetGroupId(java.lang.String strGroupId)Sets the GroupId.voidsetIsProject(boolean bIsProject)Sets the IsProject.voidsetJiraCode(java.lang.String strJiraCode)Sets the JiraCode.voidsetJiraCurrentVersionClosedIssues(int nJiraCurrentVersionClosedIssues)Sets the JiraCurrentVersionClosedIssues.voidsetJiraCurrentVersionOpenedIssues(int nJiraCurrentVersionOpenedIssues)Sets the JiraCurrentVersionOpenedIssues.voidsetJiraRoadmapUrl(java.lang.String strJiraRoadmapUrl)Sets the JiraRoadmapUrl.voidsetLastAvailableSnapshotVersion(java.lang.String _strLastAvailableSnapshotVersion)Sets the last available snapshot version.voidsetLastAvailableVersion(java.lang.String strLastAvailableVersion)Sets the LastAvailableVersion.voidsetName(java.lang.String _strName)Sets the name.voidsetNextSnapshotVersion(java.lang.String strNextSnapshotVersion)Sets the NextSnapshotVersion.voidsetPermissions(java.util.HashMap<java.lang.String,java.lang.Boolean> permissions)voidsetScmDeveloperConnection(java.lang.String _strScmDeveloperConnection)Sets the scm developer connection.voidsetTargetJdk(java.lang.String _strTargetJdk)voidsetTargetVersion(java.lang.String strTargetVersion)Sets the TargetVersion.voidsetTargetVersionIndex(int nIndex)Set the target version index.voidsetTargetVersions(java.util.List<java.lang.String> listTargetVersions)Set target versions list.voidsetTweetMessage(java.lang.String _strTweetMessage)Sets the tweet message.voidsetType(java.lang.String strType)Sets the Type.voidsetUpgrade(boolean _bUpgrade)Sets the upgrade.booleanshouldBeReleased()Returns the IsProject.-
Methods inherited from class fr.paris.lutece.plugins.releaser.business.AbstractReleaserResource
addReleaseComment, getReleaseComment, getRepoType, resetComments
-
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final java.lang.String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
PERMISSION_SEARCH_COMPONENT
public static final java.lang.String PERMISSION_SEARCH_COMPONENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getArtifactId
public java.lang.String getArtifactId()
Returns the ArtifactId.- Specified by:
getArtifactIdin interfaceIReleaserResource- Returns:
- The ArtifactId
-
setArtifactId
public void setArtifactId(java.lang.String strArtifactId)
Sets the ArtifactId.- Parameters:
strArtifactId- The ArtifactId
-
getGroupId
public java.lang.String getGroupId()
Returns the GroupId.- Returns:
- The GroupId
-
setGroupId
public void setGroupId(java.lang.String strGroupId)
Sets the GroupId.- Parameters:
strGroupId- The GroupId
-
getType
public java.lang.String getType()
Returns the Type.- Returns:
- The Type
-
setType
public void setType(java.lang.String strType)
Sets the Type.- Parameters:
strType- The Type
-
getCurrentVersion
public java.lang.String getCurrentVersion()
Returns the CurrentVersion.- Returns:
- The CurrentVersion
-
setCurrentVersion
public void setCurrentVersion(java.lang.String strCurrentVersion)
Sets the CurrentVersion.- Parameters:
strCurrentVersion- The CurrentVersion
-
getTargetVersion
public java.lang.String getTargetVersion()
Returns the TargetVersion.- Specified by:
getTargetVersionin interfaceIReleaserResource- Returns:
- The TargetVersion
-
setTargetVersion
public void setTargetVersion(java.lang.String strTargetVersion)
Sets the TargetVersion.- Parameters:
strTargetVersion- The TargetVersion
-
isProject
public boolean isProject()
Returns the IsProject.- Returns:
- The IsProject
-
setIsProject
public void setIsProject(boolean bIsProject)
Sets the IsProject.- Parameters:
bIsProject- The IsProject
-
getLastAvailableVersion
public java.lang.String getLastAvailableVersion()
Returns the LastAvailableVersion.- Returns:
- The LastAvailableVersion
-
setLastAvailableVersion
public void setLastAvailableVersion(java.lang.String strLastAvailableVersion)
Sets the LastAvailableVersion.- Parameters:
strLastAvailableVersion- The LastAvailableVersion
-
getNextSnapshotVersion
public java.lang.String getNextSnapshotVersion()
Returns the NextSnapshotVersion.- Returns:
- The NextSnapshotVersion
-
setNextSnapshotVersion
public void setNextSnapshotVersion(java.lang.String strNextSnapshotVersion)
Sets the NextSnapshotVersion.- Parameters:
strNextSnapshotVersion- The NextSnapshotVersion
-
getJiraCode
public java.lang.String getJiraCode()
Returns the JiraCode.- Returns:
- The JiraCode
-
setJiraCode
public void setJiraCode(java.lang.String strJiraCode)
Sets the JiraCode.- Parameters:
strJiraCode- The JiraCode
-
getJiraRoadmapUrl
public java.lang.String getJiraRoadmapUrl()
Returns the JiraRoadmapUrl.- Returns:
- The JiraRoadmapUrl
-
setJiraRoadmapUrl
public void setJiraRoadmapUrl(java.lang.String strJiraRoadmapUrl)
Sets the JiraRoadmapUrl.- Parameters:
strJiraRoadmapUrl- The JiraRoadmapUrl
-
getJiraCurrentVersionClosedIssues
public int getJiraCurrentVersionClosedIssues()
Returns the JiraCurrentVersionClosedIssues.- Returns:
- The JiraCurrentVersionClosedIssues
-
setJiraCurrentVersionClosedIssues
public void setJiraCurrentVersionClosedIssues(int nJiraCurrentVersionClosedIssues)
Sets the JiraCurrentVersionClosedIssues.- Parameters:
nJiraCurrentVersionClosedIssues- The JiraCurrentVersionClosedIssues
-
getJiraCurrentVersionOpenedIssues
public int getJiraCurrentVersionOpenedIssues()
Returns the JiraCurrentVersionOpenedIssues.- Returns:
- The JiraCurrentVersionOpenedIssues
-
setJiraCurrentVersionOpenedIssues
public void setJiraCurrentVersionOpenedIssues(int nJiraCurrentVersionOpenedIssues)
Sets the JiraCurrentVersionOpenedIssues.- Parameters:
nJiraCurrentVersionOpenedIssues- The JiraCurrentVersionOpenedIssues
-
setTargetVersions
public void setTargetVersions(java.util.List<java.lang.String> listTargetVersions)
Set target versions list.- Parameters:
listTargetVersions- The target versions list
-
getTargetVersions
public java.util.List<java.lang.String> getTargetVersions()
Gets the target versions list.- Returns:
- the target versions list
-
setTargetVersionIndex
public void setTargetVersionIndex(int nIndex)
Set the target version index.- Parameters:
nIndex- the target version index
-
getTargetVersionIndex
public int getTargetVersionIndex()
Get the target version index.- Returns:
- the target version index
-
shouldBeReleased
public boolean shouldBeReleased()
Returns the IsProject.- Returns:
- True if should be released
-
getScmDeveloperConnection
public java.lang.String getScmDeveloperConnection()
Gets the scm developer connection.- Returns:
- scm developer connection url
-
setScmDeveloperConnection
public void setScmDeveloperConnection(java.lang.String _strScmDeveloperConnection)
Sets the scm developer connection.- Parameters:
_strScmDeveloperConnection- scm developer connection url
-
isSnapshotVersion
public boolean isSnapshotVersion()
Checks if is snapshot version.- Returns:
- snapshot version
-
isUpgrade
public boolean isUpgrade()
Checks if is upgrade.- Returns:
- boolean
-
setUpgrade
public void setUpgrade(boolean _bUpgrade)
Sets the upgrade.- Parameters:
_bUpgrade- the new upgrade
-
isDowngrade
public boolean isDowngrade()
Checks if is downgrade.- Returns:
- boolean
-
setDowngrade
public void setDowngrade(boolean _bDowngrade)
Sets the downgrade.- Parameters:
_bDowngrade- the new downgrade
-
isTheme
public boolean isTheme()
Checks if is theme.- Returns:
- boolean
-
getLastAvailableSnapshotVersion
public java.lang.String getLastAvailableSnapshotVersion()
Gets the last available snapshot version.- Returns:
- getLastAvailableSnapshotVersion
-
setLastAvailableSnapshotVersion
public void setLastAvailableSnapshotVersion(java.lang.String _strLastAvailableSnapshotVersion)
Sets the last available snapshot version.- Parameters:
_strLastAvailableSnapshotVersion- the new last available snapshot version
-
isErrorLastRelease
public boolean isErrorLastRelease()
Checks if is error last release.- Returns:
- isErrorLastRelease
-
setErrorLastRelease
public void setErrorLastRelease(boolean _bErrorLastRelease)
Sets the error last release.- Parameters:
_bErrorLastRelease- the new error last release
-
getName
public java.lang.String getName()
Gets the name.- Returns:
- getName
-
setName
public void setName(java.lang.String _strName)
Sets the name.- Parameters:
_strName- the new name
-
getCloneUrl
public java.lang.String getCloneUrl()
Gets the clone url.- Returns:
- CloneUrl
-
setCloneUrl
public void setCloneUrl(java.lang.String _strCloneUrl)
Sets the clone url.- Parameters:
_strCloneUrl- the new clone url
-
getFullName
public java.lang.String getFullName()
Gets the full name.- Returns:
- full name
-
setFullName
public void setFullName(java.lang.String strFullName)
Sets the full name.- Parameters:
strFullName- the new full name
-
getTweetMessage
public java.lang.String getTweetMessage()
Gets the tweet message.- Returns:
- getTweetMessage
-
setTweetMessage
public void setTweetMessage(java.lang.String _strTweetMessage)
Sets the tweet message.- Parameters:
_strTweetMessage- the new tweet message
-
getScmUrl
public java.lang.String getScmUrl()
Gets the scm url.- Specified by:
getScmUrlin interfaceIReleaserResource- Returns:
- the scm url
-
getResourceTypeCode
public java.lang.String getResourceTypeCode()
- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
getResourceId
public java.lang.String getResourceId()
- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
getPermissions
public java.util.HashMap<java.lang.String,java.lang.Boolean> getPermissions()
-
setPermissions
public void setPermissions(java.util.HashMap<java.lang.String,java.lang.Boolean> permissions)
-
getBranches
public java.util.List<java.lang.String> getBranches()
-
setBranches
public void setBranches(java.util.List<java.lang.String> listBranches)
-
getBranchReleaseFrom
public java.lang.String getBranchReleaseFrom()
-
setBranchReleaseFrom
public void setBranchReleaseFrom(java.lang.String _strBranchReleaseFrom)
-
getBranchReleaseVersion
public java.lang.String getBranchReleaseVersion()
-
setBranchReleaseVersion
public void setBranchReleaseVersion(java.lang.String _strBranchReleaseVersion)
-
getTargetJdk
public java.lang.String getTargetJdk()
-
setTargetJdk
public void setTargetJdk(java.lang.String _strTargetJdk)
-
-