Class ChangeDeploy
- All Implemented Interfaces:
Serializable
dateScheduled.- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanContains all of the vendor-refs that are affected bychange summary groupswithin this deployment.The application to which the deployment belongs.The archival state.The user (as defined by the Spring security principal) responsible for creating this group.List ofChangeSummaryGroupsthat are pushed to production together.The time when the deployment was created (not when it is scheduled to happen).The time when the deployment is scheduled to occur.The message given to this deployment during scheduling.The name to display to the user that represents this deployment.Any exceptions that result from a workflow related request on this deploymentgetId()Unique identifier for this change deployment.intgetLevel()TheTrackingLevelfrom whichchange summarieswithin this deployment are configured to executed.The sandbox ID with which to filter change groups.getState()The currentstateof this deployment.The currentstatusof this deploymentThe time that the status last changed.inthashCode()booleanIf this deployment containsgetChangeGroupIds()which affect non-vendor data, then this field should betrue.voidsetAffectedVendorRefs(Set<String> affectedVendorRefs) Contains all of the vendor-refs that are affected bychange summary groupswithin this deployment.voidsetAffectsNonVendorData(boolean affectsNonVendorData) If this deployment containsgetChangeGroupIds()which affect non-vendor data, then this field should betrue.voidsetApplication(String application) The application to which the deployment belongs.voidsetArchived(Boolean archived) The archival state.voidThe user (as defined by the Spring security principal) responsible for creating this group.voidsetChangeGroupIds(List<String> changeGroupIds) List ofChangeSummaryGroupsthat are pushed to production together.voidsetDateCreated(Instant dateCreated) The time when the deployment was created (not when it is scheduled to happen).voidsetDateScheduled(Instant dateScheduled) The time when the deployment is scheduled to occur.voidsetDeployMessage(String deployMessage) The message given to this deployment during scheduling.voidsetDisplayName(String displayName) The name to display to the user that represents this deployment.voidsetException(String exception) Any exceptions that result from a workflow related request on this deploymentvoidUnique identifier for this change deployment.voidsetLevel(int level) TheTrackingLevelfrom whichchange summarieswithin this deployment are configured to executed.voidsetSandbox(String sandbox) The sandbox ID with which to filter change groups.voidThe currentstateof this deployment.voidThe currentstatusof this deploymentvoidsetStatusChangeTime(Instant statusChangeTime) The time that the status last changed.toString()
-
Constructor Details
-
ChangeDeploy
public ChangeDeploy()
-
-
Method Details
-
getId
Unique identifier for this change deployment.- Returns:
- Unique identifier for this change deployment
-
getDisplayName
The name to display to the user that represents this deployment. This should be provided as part of a schedule request, along with optionaldeployMessage.- Returns:
- The name to display to the user that represents this deployment
-
getDeployMessage
The message given to this deployment during scheduling.- Returns:
- The message given to this deployment during scheduling.
-
getAuthor
The user (as defined by the Spring security principal) responsible for creating this group. SeeContextInfo.getAuthor()- Returns:
- The user that was responsible for creating this group
-
getSandbox
The sandbox ID with which to filter change groups.- Returns:
- The sandbox ID with which to filter change groups.
-
getApplication
The application to which the deployment belongs. Will be null for a tenant-only context.- Returns:
- The application to which the deployment belongs
-
getDateCreated
The time when the deployment was created (not when it is scheduled to happen).- Returns:
- The time when the deployment was created (not when it is scheduled to happen).
-
getDateScheduled
The time when the deployment is scheduled to occur.- Returns:
- The time when the deployment is scheduled to occur.
-
getState
The currentstateof this deployment. This will change only when thestatuschanges to a completed type, i.e.,ChangeStatusType.FINISHEDor an error status.- Returns:
- The current
stateof this deployment
-
getStatus
The currentstatusof this deployment- Returns:
- The current
statusof this deployment
-
getStatusChangeTime
The time that the status last changed.- Returns:
- The time that the status last changed
-
getChangeGroupIds
List ofChangeSummaryGroupsthat are pushed to production together.- Returns:
- List of
ChangeSummaryGroupsthat are pushed to production together.
-
getException
Any exceptions that result from a workflow related request on this deployment- Returns:
- Any exceptions that result from this deployment
-
getArchived
The archival state. Archived records are generally filtered from fetch results.- Returns:
- The archival state
-
getLevel
public int getLevel()TheTrackingLevelfrom whichchange summarieswithin this deployment are configured to executed. For instance if changes need to go straight from the User level (to skip the promotion sandbox), you would useTrackingLevel.USER.- Returns:
- The
TrackingLevelfrom which this deployment is configured to execute
-
getAffectedVendorRefs
Contains all of the vendor-refs that are affected bychange summary groupswithin this deployment.If vendor processing is enabled, this enables queries to quickly filter out change deployments which a vendor-restricted user cannot access.
Note that if the member groups within this deployment change, this set should also be updated accordingly.
-
isAffectsNonVendorData
public boolean isAffectsNonVendorData()If this deployment containsgetChangeGroupIds()which affect non-vendor data, then this field should betrue.If vendor processing is enabled, this enables queries to quickly filter out change deployments which a vendor-restricted user cannot access.
Note that if the member groups within this deployment change, this value should also be updated accordingly.
-
setId
Unique identifier for this change deployment.- Parameters:
id- Unique identifier for this change deployment
-
setDisplayName
The name to display to the user that represents this deployment. This should be provided as part of a schedule request, along with optionaldeployMessage.- Parameters:
displayName- The name to display to the user that represents this deployment
-
setDeployMessage
The message given to this deployment during scheduling.- Parameters:
deployMessage- The message given to this deployment during scheduling.
-
setAuthor
The user (as defined by the Spring security principal) responsible for creating this group. SeeContextInfo.getAuthor()- Parameters:
author- The user that was responsible for creating this group
-
setSandbox
The sandbox ID with which to filter change groups.- Parameters:
sandbox- The sandbox ID with which to filter change groups.
-
setApplication
The application to which the deployment belongs. Will be null for a tenant-only context.- Parameters:
application- The application to which the deployment belongs
-
setDateCreated
The time when the deployment was created (not when it is scheduled to happen).- Parameters:
statusChangeTime- The time when the deployment was created (not when it is scheduled to happen).
-
setDateScheduled
The time when the deployment is scheduled to occur.- Parameters:
statusChangeTime- The time when the deployment is scheduled to occur.
-
setState
The currentstateof this deployment. This will change only when thestatuschanges to a completed type, i.e.,ChangeStatusType.FINISHEDor an error status.- Parameters:
state- The currentstateof this deployment
-
setStatus
The currentstatusof this deployment- Parameters:
state- The currentstatusof this deployment
-
setStatusChangeTime
The time that the status last changed.- Parameters:
statusChangeTime- The time that the status last changed.
-
setChangeGroupIds
List ofChangeSummaryGroupsthat are pushed to production together.- Parameters:
changeGroupIds- List ofChangeSummaryGroupsthat are pushed to production together.
-
setException
Any exceptions that result from a workflow related request on this deployment- Parameters:
exception- Any exceptions that result from this deployment
-
setArchived
The archival state. Archived records are generally filtered from fetch results.- Parameters:
archived- Whether this deployment should be filtered from fetch results
-
setLevel
public void setLevel(int level) TheTrackingLevelfrom whichchange summarieswithin this deployment are configured to executed. For instance if changes need to go straight from the User level (to skip the promotion sandbox), you would useTrackingLevel.USER.- Parameters:
level- TheTrackingLevelfrom which this deployment is configured to execute
-
setAffectedVendorRefs
Contains all of the vendor-refs that are affected bychange summary groupswithin this deployment.If vendor processing is enabled, this enables queries to quickly filter out change deployments which a vendor-restricted user cannot access.
Note that if the member groups within this deployment change, this set should also be updated accordingly.
-
setAffectsNonVendorData
public void setAffectsNonVendorData(boolean affectsNonVendorData) If this deployment containsgetChangeGroupIds()which affect non-vendor data, then this field should betrue.If vendor processing is enabled, this enables queries to quickly filter out change deployments which a vendor-restricted user cannot access.
Note that if the member groups within this deployment change, this value should also be updated accordingly.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-