public class ApiParcel extends Object
> The available parcels are determined by which cluster they will be running on. For example, a SLES parcel won't show up for a RHEL cluster.
Constructor and Description |
---|
ApiParcel() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiClusterRef |
getClusterRef()
Readonly.
|
String |
getProduct()
The name of the product, e.g.
|
String |
getStage()
Returns the current stage of the parcel.
|
ApiParcelState |
getState()
The state of the parcel.
|
String |
getVersion()
The version of the product, e.g.
|
int |
hashCode() |
void |
setClusterRef(ApiClusterRef clusterRef) |
void |
setProduct(String product) |
void |
setStage(String stage) |
void |
setState(ApiParcelState state) |
void |
setVersion(String version) |
String |
toString() |
public String getProduct()
public void setProduct(String product)
public String getVersion()
public void setVersion(String version)
public String getStage()
There are a number of stages a parcel can be in. There are two types of stages - stable and transient. A parcel is in a transient stage when it is transitioning between two stable stages. The stages are listed below with some additional information.
public void setStage(String stage)
public ApiParcelState getState()
public void setState(ApiParcelState state)
public ApiClusterRef getClusterRef()
public void setClusterRef(ApiClusterRef clusterRef)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.