Class SubscriptionStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.operatorhub.v1alpha1.SubscriptionStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SubscriptionStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SubscriptionStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<SubscriptionStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SubscriptionStatus()No args constructor for use in serializationSubscriptionStatus(List<SubscriptionCatalogHealth> catalogHealth, List<SubscriptionCondition> conditions, String currentCSV, Integer installPlanGeneration, io.fabric8.kubernetes.api.model.ObjectReference installPlanRef, String installedCSV, InstallPlanReference installplan, String lastUpdated, String reason, String state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<SubscriptionCatalogHealth>getCatalogHealth()CatalogHealth contains the Subscription's view of its relevant CatalogSources' status.List<SubscriptionCondition>getConditions()Conditions is a list of the latest available observations about a Subscription's current state.StringgetCurrentCSV()CurrentCSV is the CSV the Subscription is progressing to.StringgetInstalledCSV()InstalledCSV is the CSV currently installed by the Subscription.InstallPlanReferencegetInstallplan()IntegergetInstallPlanGeneration()InstallPlanGeneration is the current generation of the installplanio.fabric8.kubernetes.api.model.ObjectReferencegetInstallPlanRef()StringgetLastUpdated()StringgetReason()Reason is the reason the Subscription was transitioned to its current state.StringgetState()State represents the current state of the SubscriptionvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCatalogHealth(List<SubscriptionCatalogHealth> catalogHealth)CatalogHealth contains the Subscription's view of its relevant CatalogSources' status.voidsetConditions(List<SubscriptionCondition> conditions)Conditions is a list of the latest available observations about a Subscription's current state.voidsetCurrentCSV(String currentCSV)CurrentCSV is the CSV the Subscription is progressing to.voidsetInstalledCSV(String installedCSV)InstalledCSV is the CSV currently installed by the Subscription.voidsetInstallplan(InstallPlanReference installplan)voidsetInstallPlanGeneration(Integer installPlanGeneration)InstallPlanGeneration is the current generation of the installplanvoidsetInstallPlanRef(io.fabric8.kubernetes.api.model.ObjectReference installPlanRef)voidsetLastUpdated(String lastUpdated)voidsetReason(String reason)Reason is the reason the Subscription was transitioned to its current state.voidsetState(String state)State represents the current state of the SubscriptionSubscriptionStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
SubscriptionStatus
public SubscriptionStatus()
No args constructor for use in serialization
-
SubscriptionStatus
public SubscriptionStatus(List<SubscriptionCatalogHealth> catalogHealth, List<SubscriptionCondition> conditions, String currentCSV, Integer installPlanGeneration, io.fabric8.kubernetes.api.model.ObjectReference installPlanRef, String installedCSV, InstallPlanReference installplan, String lastUpdated, String reason, String state)
-
-
Method Detail
-
getCatalogHealth
public List<SubscriptionCatalogHealth> getCatalogHealth()
CatalogHealth contains the Subscription's view of its relevant CatalogSources' status. It is used to determine SubscriptionStatusConditions related to CatalogSources.
-
setCatalogHealth
public void setCatalogHealth(List<SubscriptionCatalogHealth> catalogHealth)
CatalogHealth contains the Subscription's view of its relevant CatalogSources' status. It is used to determine SubscriptionStatusConditions related to CatalogSources.
-
getConditions
public List<SubscriptionCondition> getConditions()
Conditions is a list of the latest available observations about a Subscription's current state.
-
setConditions
public void setConditions(List<SubscriptionCondition> conditions)
Conditions is a list of the latest available observations about a Subscription's current state.
-
getCurrentCSV
public String getCurrentCSV()
CurrentCSV is the CSV the Subscription is progressing to.
-
setCurrentCSV
public void setCurrentCSV(String currentCSV)
CurrentCSV is the CSV the Subscription is progressing to.
-
getInstallPlanGeneration
public Integer getInstallPlanGeneration()
InstallPlanGeneration is the current generation of the installplan
-
setInstallPlanGeneration
public void setInstallPlanGeneration(Integer installPlanGeneration)
InstallPlanGeneration is the current generation of the installplan
-
getInstallPlanRef
public io.fabric8.kubernetes.api.model.ObjectReference getInstallPlanRef()
-
setInstallPlanRef
public void setInstallPlanRef(io.fabric8.kubernetes.api.model.ObjectReference installPlanRef)
-
getInstalledCSV
public String getInstalledCSV()
InstalledCSV is the CSV currently installed by the Subscription.
-
setInstalledCSV
public void setInstalledCSV(String installedCSV)
InstalledCSV is the CSV currently installed by the Subscription.
-
getInstallplan
public InstallPlanReference getInstallplan()
-
setInstallplan
public void setInstallplan(InstallPlanReference installplan)
-
getLastUpdated
public String getLastUpdated()
-
setLastUpdated
public void setLastUpdated(String lastUpdated)
-
getReason
public String getReason()
Reason is the reason the Subscription was transitioned to its current state.
-
setReason
public void setReason(String reason)
Reason is the reason the Subscription was transitioned to its current state.
-
getState
public String getState()
State represents the current state of the Subscription
-
setState
public void setState(String state)
State represents the current state of the Subscription
-
edit
public SubscriptionStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SubscriptionStatusBuilder>
-
toBuilder
public SubscriptionStatusBuilder toBuilder()
-
-