Class Facet
java.lang.Object
com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
com.xebialabs.xlrelease.domain.facet.Facet
- All Implemented Interfaces:
ConfigurationItem
,VisitableItem
,Serializable
,Comparable<BaseConfigurationItem>
- Direct Known Subclasses:
ConfigurationFacet
,TaskReportingRecord
@Metadata(root=APPLICATIONS,
versioned=false,
virtual=true,
description="Base facet class used to augment other CIs (tasks only currently)")
public abstract class Facet
extends BaseConfigurationItem
implements VisitableItem
- See Also:
-
Field Summary
FieldsFields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
id, syntheticProperties, type
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ReleaseVisitor visitor) freezeVariables
(Map<String, ValueWithInterpolation> variables, Changes changes, boolean freezeEvenIfUnresolved) getScope()
void
setScope
(FacetScope scope) void
setTargetId
(String targetId) void
setVariableMapping
(Map<String, String> variableMapping) Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
compareTo, equals, get$ciAttributes, get$directoryReference, get$externalProperties, get$internalId, get$referenceId, get$securedCi, get$securedDirectoryReference, get$token, get$validationMessages, getId, getName, getProperty, getPropertyDescriptor, getType, hashCode, hasProperty, set$ciAttributes, set$directoryReference, set$externalProperties, set$internalId, set$referenceId, set$securedCi, set$securedDirectoryReference, set$token, set$validationMessages, setId, setProperty, setType, toString
-
Field Details
-
CONFIGURATION_URI
- See Also:
-
scope
@Property(hidden=true, category="internal", description="CI kind to which the facet can be applied.", defaultValue="TASK") protected FacetScope scope
-
-
Constructor Details
-
Facet
public Facet()
-
-
Method Details
-
getScope
-
setScope
-
getTargetId
-
setTargetId
- Parameters:
targetId
- The ID of the CI that generated the record, e.g. thetask.id
-
accept
- Specified by:
accept
in interfaceVisitableItem
-
getVariableUsages
-
getVariableMapping
-
setVariableMapping
-
freezeVariables
-
getPropertiesWithVariables
-