com.atlassian.bamboo.deployments.projects.persistence.versionnaming
Class MutableVersionNamingSchemeImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.deployments.projects.persistence.versionnaming.MutableVersionNamingSchemeImpl
- All Implemented Interfaces:
- BambooIdProvider, BambooObject, MutableVersionNamingScheme, InternalVersionNamingScheme, java.lang.Cloneable
public class MutableVersionNamingSchemeImpl
- extends BambooEntityObject
- implements MutableVersionNamingScheme
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
MutableVersionNamingSchemeImpl
public MutableVersionNamingSchemeImpl()
getNextVersionName
public java.lang.String getNextVersionName()
- Description copied from interface:
InternalVersionNamingScheme
- String to be used as the next version name. May contain variables that require substituting
- Specified by:
getNextVersionName
in interface InternalVersionNamingScheme
- Returns:
- version name
setNextVersionName
public void setNextVersionName(java.lang.String nextVersionName)
- Specified by:
setNextVersionName
in interface MutableVersionNamingScheme
isAutoIncrement
public boolean isAutoIncrement()
- Description copied from interface:
InternalVersionNamingScheme
- Auto increment the whole version name when a version is automatically created
- Specified by:
isAutoIncrement
in interface InternalVersionNamingScheme
- Returns:
- true if Bamboo should autoincrement the version name
setAutoIncrement
public void setAutoIncrement(boolean autoIncrement)
- Specified by:
setAutoIncrement
in interface MutableVersionNamingScheme
setDeploymentProject
public void setDeploymentProject(MutableDeploymentProject deploymentProject)
getVariablesToAutoIncrement
public java.util.Set<java.lang.String> getVariablesToAutoIncrement()
- Description copied from interface:
InternalVersionNamingScheme
- The list of variables Bamboo should auto increment on version creation
- Specified by:
getVariablesToAutoIncrement
in interface InternalVersionNamingScheme
- Returns:
- variable names to be incremented.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.