Class ChangeDeploy
- All Implemented Interfaces:
Serializable
dateScheduled
.- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Contains all of the vendor-refs that are affected bychange summary groups
within 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 ofChangeSummaryGroups
that 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.int
getLevel()
TheTrackingLevel
from whichchange summaries
within this deployment are configured to executed.The sandbox ID with which to filter change groups.getState()
The currentstate
of this deployment.The currentstatus
of this deploymentThe time that the status last changed.int
hashCode()
boolean
If this deployment containsgetChangeGroupIds()
which affect non-vendor data, then this field should betrue
.void
setAffectedVendorRefs
(Set<String> affectedVendorRefs) Contains all of the vendor-refs that are affected bychange summary groups
within this deployment.void
setAffectsNonVendorData
(boolean affectsNonVendorData) If this deployment containsgetChangeGroupIds()
which affect non-vendor data, then this field should betrue
.void
setApplication
(String application) The application to which the deployment belongs.void
setArchived
(Boolean archived) The archival state.void
The user (as defined by the Spring security principal) responsible for creating this group.void
setChangeGroupIds
(List<String> changeGroupIds) List ofChangeSummaryGroups
that are pushed to production together.void
setDateCreated
(Instant dateCreated) The time when the deployment was created (not when it is scheduled to happen).void
setDateScheduled
(Instant dateScheduled) The time when the deployment is scheduled to occur.void
setDeployMessage
(String deployMessage) The message given to this deployment during scheduling.void
setDisplayName
(String displayName) The name to display to the user that represents this deployment.void
setException
(String exception) Any exceptions that result from a workflow related request on this deploymentvoid
Unique identifier for this change deployment.void
setLevel
(int level) TheTrackingLevel
from whichchange summaries
within this deployment are configured to executed.void
setSandbox
(String sandbox) The sandbox ID with which to filter change groups.void
The currentstate
of this deployment.void
The currentstatus
of this deploymentvoid
setStatusChangeTime
(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 currentstate
of this deployment. This will change only when thestatus
changes to a completed type, i.e.,ChangeStatusType.FINISHED
or an error status.- Returns:
- The current
state
of this deployment
-
getStatus
The currentstatus
of this deployment- Returns:
- The current
status
of this deployment
-
getStatusChangeTime
The time that the status last changed.- Returns:
- The time that the status last changed
-
getChangeGroupIds
List ofChangeSummaryGroups
that are pushed to production together.- Returns:
- List of
ChangeSummaryGroups
that 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()TheTrackingLevel
from whichchange summaries
within 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
TrackingLevel
from which this deployment is configured to execute
-
getAffectedVendorRefs
Contains all of the vendor-refs that are affected bychange summary groups
within 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 currentstate
of this deployment. This will change only when thestatus
changes to a completed type, i.e.,ChangeStatusType.FINISHED
or an error status.- Parameters:
state
- The currentstate
of this deployment
-
setStatus
The currentstatus
of this deployment- Parameters:
state
- The currentstatus
of this deployment
-
setStatusChangeTime
The time that the status last changed.- Parameters:
statusChangeTime
- The time that the status last changed.
-
setChangeGroupIds
List ofChangeSummaryGroups
that are pushed to production together.- Parameters:
changeGroupIds
- List ofChangeSummaryGroups
that 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) TheTrackingLevel
from whichchange summaries
within 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
- TheTrackingLevel
from which this deployment is configured to execute
-
setAffectedVendorRefs
Contains all of the vendor-refs that are affected bychange summary groups
within 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
-