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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the ArtifactId.Gets the clone url.Returns the CurrentVersion.Gets the full name.Returns the GroupId.Returns the JiraCode.intReturns the JiraCurrentVersionClosedIssues.intReturns the JiraCurrentVersionOpenedIssues.Returns the JiraRoadmapUrl.Gets the last available snapshot version.Returns the LastAvailableVersion.getName()Gets the name.Returns the NextSnapshotVersion.Returns the list of available release versions from Maven repository.Gets the scm developer connection.Gets the scm url.Returns the list of available snapshot versions from Maven repository.getTags()Returns the TargetVersion.intGet the target version index.Gets the target versions list.Gets the tweet message.getType()Returns the Type.booleanChecks if is downgrade.booleanChecks if is error last release.booleanReturns the IsProject.booleanChecks if is snapshot version.booleanisTheme()Checks if is theme.booleanChecks if is upgrade.voidsetArtifactId(String strArtifactId) Sets the ArtifactId.voidsetBranches(List<String> listBranches) voidsetBranchReleaseFrom(String _strBranchReleaseFrom) voidsetBranchReleaseVersion(String _strBranchReleaseVersion) voidsetCloneUrl(String _strCloneUrl) Sets the clone url.voidsetCurrentVersion(String strCurrentVersion) Sets the CurrentVersion.voidsetDowngrade(boolean _bDowngrade) Sets the downgrade.voidsetErrorLastRelease(boolean _bErrorLastRelease) Sets the error last release.voidsetFullName(String strFullName) Sets the full name.voidsetGroupId(String strGroupId) Sets the GroupId.voidsetIsProject(boolean bIsProject) Sets the IsProject.voidsetJiraCode(String strJiraCode) Sets the JiraCode.voidsetJiraCurrentVersionClosedIssues(int nJiraCurrentVersionClosedIssues) Sets the JiraCurrentVersionClosedIssues.voidsetJiraCurrentVersionOpenedIssues(int nJiraCurrentVersionOpenedIssues) Sets the JiraCurrentVersionOpenedIssues.voidsetJiraRoadmapUrl(String strJiraRoadmapUrl) Sets the JiraRoadmapUrl.voidsetLastAvailableSnapshotVersion(String _strLastAvailableSnapshotVersion) Sets the last available snapshot version.voidsetLastAvailableVersion(String strLastAvailableVersion) Sets the LastAvailableVersion.voidSets the name.voidsetNextSnapshotVersion(String strNextSnapshotVersion) Sets the NextSnapshotVersion.voidsetPermissions(HashMap<String, Boolean> permissions) voidsetReleaseVersions(List<String> listReleaseVersions) Sets the list of available release versions from Maven repository.voidsetScmDeveloperConnection(String _strScmDeveloperConnection) Sets the scm developer connection.voidsetSnapshotVersions(List<String> listSnapshotVersions) Sets the list of available snapshot versions from Maven repository.voidvoidsetTargetJdk(String _strTargetJdk) voidsetTargetVersion(String strTargetVersion) Sets the TargetVersion.voidsetTargetVersionIndex(int nIndex) Set the target version index.voidsetTargetVersions(List<String> listTargetVersions) Set target versions list.voidsetTweetMessage(String _strTweetMessage) Sets the tweet message.voidSets the Type.voidsetUpgrade(boolean _bUpgrade) Sets the upgrade.booleanReturns the IsProject.Methods inherited from class fr.paris.lutece.plugins.releaser.business.AbstractReleaserResource
addReleaseComment, getReleaseComment, getRepoType, resetComments
-
Field Details
-
RESOURCE_TYPE
- See Also:
-
PERMISSION_SEARCH_COMPONENT
- See Also:
-
-
Constructor Details
-
Component
public Component()
-
-
Method Details
-
getArtifactId
Returns the ArtifactId.- Specified by:
getArtifactIdin interfaceIReleaserResource- Returns:
- The ArtifactId
-
setArtifactId
Sets the ArtifactId.- Parameters:
strArtifactId- The ArtifactId
-
getGroupId
Returns the GroupId.- Returns:
- The GroupId
-
setGroupId
Sets the GroupId.- Parameters:
strGroupId- The GroupId
-
getType
Returns the Type.- Returns:
- The Type
-
setType
Sets the Type.- Parameters:
strType- The Type
-
getCurrentVersion
Returns the CurrentVersion.- Returns:
- The CurrentVersion
-
setCurrentVersion
Sets the CurrentVersion.- Parameters:
strCurrentVersion- The CurrentVersion
-
getTargetVersion
Returns the TargetVersion.- Specified by:
getTargetVersionin interfaceIReleaserResource- Returns:
- The TargetVersion
-
setTargetVersion
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
Returns the LastAvailableVersion.- Returns:
- The LastAvailableVersion
-
setLastAvailableVersion
Sets the LastAvailableVersion.- Parameters:
strLastAvailableVersion- The LastAvailableVersion
-
getNextSnapshotVersion
Returns the NextSnapshotVersion.- Returns:
- The NextSnapshotVersion
-
setNextSnapshotVersion
Sets the NextSnapshotVersion.- Parameters:
strNextSnapshotVersion- The NextSnapshotVersion
-
getJiraCode
Returns the JiraCode.- Returns:
- The JiraCode
-
setJiraCode
Sets the JiraCode.- Parameters:
strJiraCode- The JiraCode
-
getJiraRoadmapUrl
Returns the JiraRoadmapUrl.- Returns:
- The JiraRoadmapUrl
-
setJiraRoadmapUrl
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
Set target versions list.- Parameters:
listTargetVersions- The target versions list
-
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
Gets the scm developer connection.- Returns:
- scm developer connection url
-
setScmDeveloperConnection
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
Gets the last available snapshot version.- Returns:
- getLastAvailableSnapshotVersion
-
setLastAvailableSnapshotVersion
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
Gets the name.- Returns:
- getName
-
setName
Sets the name.- Parameters:
_strName- the new name
-
getCloneUrl
Gets the clone url.- Returns:
- CloneUrl
-
setCloneUrl
Sets the clone url.- Parameters:
_strCloneUrl- the new clone url
-
getFullName
Gets the full name.- Returns:
- full name
-
setFullName
Sets the full name.- Parameters:
strFullName- the new full name
-
getTweetMessage
Gets the tweet message.- Returns:
- getTweetMessage
-
setTweetMessage
Sets the tweet message.- Parameters:
_strTweetMessage- the new tweet message
-
getScmUrl
Gets the scm url.- Specified by:
getScmUrlin interfaceIReleaserResource- Returns:
- the scm url
-
getResourceTypeCode
- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
getResourceId
- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
getPermissions
-
setPermissions
-
getBranches
-
setBranches
-
getTags
-
setTags
-
getBranchReleaseFrom
-
setBranchReleaseFrom
-
getBranchReleaseVersion
-
setBranchReleaseVersion
-
getTargetJdk
-
setTargetJdk
-
getReleaseVersions
Returns the list of available release versions from Maven repository.- Returns:
- The list of release versions
-
setReleaseVersions
Sets the list of available release versions from Maven repository.- Parameters:
listReleaseVersions- The list of release versions
-
getSnapshotVersions
Returns the list of available snapshot versions from Maven repository.- Returns:
- The list of snapshot versions
-
setSnapshotVersions
Sets the list of available snapshot versions from Maven repository.- Parameters:
listSnapshotVersions- The list of snapshot versions
-