@Named @Singleton public class DefaultModelVersionProcessor extends java.lang.Object implements ModelVersionProcessor
ModelVersionProcessor to support
CI Friendly Versions| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
CHANGELIST_PROPERTY |
private static java.lang.String |
REVISION_PROPERTY |
private static java.lang.String |
SHA1_PROPERTY |
| Constructor and Description |
|---|
DefaultModelVersionProcessor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValidProperty(java.lang.String property) |
void |
overwriteModelProperties(java.util.Properties modelProperties,
ModelBuildingRequest request)
This method is responsible for examining the request and possibly overwrite of the valid properties in the model
|
private static final java.lang.String SHA1_PROPERTY
private static final java.lang.String CHANGELIST_PROPERTY
private static final java.lang.String REVISION_PROPERTY
public boolean isValidProperty(java.lang.String property)
isValidProperty in interface ModelVersionProcessorproperty - the property to checktrue if this is a valid property for this processorpublic void overwriteModelProperties(java.util.Properties modelProperties,
ModelBuildingRequest request)
ModelVersionProcessoroverwriteModelProperties in interface ModelVersionProcessor