Class InstanceSpecPlanExecution
- java.lang.Object
-
- com.marcnuri.yakc.model.dev.kudo.v1beta1.InstanceSpecPlanExecution
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class InstanceSpecPlanExecution extends java.lang.Object implements com.marcnuri.yakc.model.Model
There are two ways a plan execution can be triggered: 1) indirectly through update of a corresponding parameter in the InstanceSpec.Parameters map 2) directly through setting of the InstanceSpec.PlanExecution.PlanName field While indirect (1) triggers happens every time a user changes a parameter, a directly (2) triggered plan is reserved for the situations when parameters doesn't change e.g. a periodic backup is triggered overriding the existing backup file. Additionally, this opens room for canceling and overriding currently running plans in the future. Note: PlanExecution field defines plan name and corresponding parameters that IS CURRENTLY executed. Once the instance controller (IC) is done with the execution, this field will be cleared. Each plan execution has a unique UID so should the same plan be re-triggered it will have a new UID
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstanceSpecPlanExecution.Builder
-
Constructor Summary
Constructors Constructor Description InstanceSpecPlanExecution()
InstanceSpecPlanExecution(java.lang.String planName, java.lang.String status, java.lang.String uid)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceSpecPlanExecution.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getPlanName()
java.lang.String
getStatus()
ExecutionStatus captures the state of the rollout.java.lang.String
getUid()
UID is a type that holds unique ID values, including UUIDs.int
hashCode()
void
setPlanName(java.lang.String planName)
void
setStatus(java.lang.String status)
ExecutionStatus captures the state of the rollout.void
setUid(java.lang.String uid)
UID is a type that holds unique ID values, including UUIDs.InstanceSpecPlanExecution.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static InstanceSpecPlanExecution.Builder builder()
-
toBuilder
public InstanceSpecPlanExecution.Builder toBuilder()
-
getPlanName
public java.lang.String getPlanName()
-
getStatus
public java.lang.String getStatus()
ExecutionStatus captures the state of the rollout.
-
getUid
public java.lang.String getUid()
UID is a type that holds unique ID values, including UUIDs. Because we don't ONLY use UUIDs, this is an alias to string. Being a type captures intent and helps make sure that UIDs and names do not get conflated.
-
setPlanName
public void setPlanName(java.lang.String planName)
-
setStatus
public void setStatus(java.lang.String status)
ExecutionStatus captures the state of the rollout.
-
setUid
public void setUid(java.lang.String uid)
UID is a type that holds unique ID values, including UUIDs. Because we don't ONLY use UUIDs, this is an alias to string. Being a type captures intent and helps make sure that UIDs and names do not get conflated.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-