Class PlatformVersionUpdates
java.lang.Object
fr.paris.lutece.plugins.releaser.business.platform.PlatformVersionUpdates
- All Implemented Interfaces:
Serializable
Version updates the pipeline must apply to the POM of an aggregate before releasing it (JSON contract releaser to Jenkins).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the dependencies to update : "groupId:artifactId" to new version.Returns the POM properties to update : property name to new value.booleanisEmpty()Whether there is nothing to update.voidsetDependencies(Map<String, String> mapDependencies) Sets the dependencies to update.voidsetProperties(Map<String, String> mapProperties) Sets the POM properties to update.
-
Constructor Details
-
PlatformVersionUpdates
public PlatformVersionUpdates()
-
-
Method Details
-
getProperties
Returns the POM properties to update : property name to new value.- Returns:
- the properties
-
setProperties
Sets the POM properties to update.- Parameters:
mapProperties- the properties
-
getDependencies
Returns the dependencies to update : "groupId:artifactId" to new version.- Returns:
- the dependencies
-
setDependencies
Sets the dependencies to update.- Parameters:
mapDependencies- the dependencies
-
isEmpty
public boolean isEmpty()Whether there is nothing to update.- Returns:
- true if both maps are empty
-