public class NodeStatusFluentImpl<A extends NodeStatusFluent<A>> extends BaseFluent<A> implements NodeStatusFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
NodeStatusFluentImpl.AddressesNestedImpl<N> |
class |
NodeStatusFluentImpl.ConditionsNestedImpl<N> |
class |
NodeStatusFluentImpl.DaemonEndpointsNestedImpl<N> |
class |
NodeStatusFluentImpl.ImagesNestedImpl<N> |
class |
NodeStatusFluentImpl.NodeInfoNestedImpl<N> |
class |
NodeStatusFluentImpl.VolumesAttachedNestedImpl<N> |
NodeStatusFluent.AddressesNested<N>, NodeStatusFluent.ConditionsNested<N>, NodeStatusFluent.DaemonEndpointsNested<N>, NodeStatusFluent.ImagesNested<N>, NodeStatusFluent.NodeInfoNested<N>, NodeStatusFluent.VolumesAttachedNested<N>
_visitables
Constructor and Description |
---|
NodeStatusFluentImpl() |
NodeStatusFluentImpl(NodeStatus instance) |
public NodeStatusFluentImpl()
public NodeStatusFluentImpl(NodeStatus instance)
public A addToAddresses(int index, NodeAddress item)
addToAddresses
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A setToAddresses(int index, NodeAddress item)
setToAddresses
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addToAddresses(NodeAddress... items)
addToAddresses
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addAllToAddresses(Collection<NodeAddress> items)
addAllToAddresses
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A removeFromAddresses(NodeAddress... items)
removeFromAddresses
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A removeAllFromAddresses(Collection<NodeAddress> items)
removeAllFromAddresses
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
@Deprecated public List<NodeAddress> getAddresses()
getAddresses
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public List<NodeAddress> buildAddresses()
buildAddresses
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeAddress buildAddress(int index)
buildAddress
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeAddress buildFirstAddress()
buildFirstAddress
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeAddress buildLastAddress()
buildLastAddress
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeAddress buildMatchingAddress(Predicate<NodeAddressBuilder> predicate)
buildMatchingAddress
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A withAddresses(List<NodeAddress> addresses)
withAddresses
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A withAddresses(NodeAddress... addresses)
withAddresses
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public Boolean hasAddresses()
hasAddresses
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.AddressesNested<A> addNewAddress()
addNewAddress
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.AddressesNested<A> addNewAddressLike(NodeAddress item)
addNewAddressLike
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.AddressesNested<A> setNewAddressLike(int index, NodeAddress item)
setNewAddressLike
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.AddressesNested<A> editAddress(int index)
editAddress
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.AddressesNested<A> editFirstAddress()
editFirstAddress
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.AddressesNested<A> editLastAddress()
editLastAddress
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.AddressesNested<A> editMatchingAddress(Predicate<NodeAddressBuilder> predicate)
editMatchingAddress
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addNewAddress(String address, String type)
addNewAddress
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addToAllocatable(String key, Quantity value)
addToAllocatable
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addToAllocatable(Map<String,Quantity> map)
addToAllocatable
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A removeFromAllocatable(String key)
removeFromAllocatable
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A removeFromAllocatable(Map<String,Quantity> map)
removeFromAllocatable
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public Map<String,Quantity> getAllocatable()
getAllocatable
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A withAllocatable(Map<String,Quantity> allocatable)
withAllocatable
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public Boolean hasAllocatable()
hasAllocatable
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addToCapacity(String key, Quantity value)
addToCapacity
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addToCapacity(Map<String,Quantity> map)
addToCapacity
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A removeFromCapacity(String key)
removeFromCapacity
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A removeFromCapacity(Map<String,Quantity> map)
removeFromCapacity
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public Map<String,Quantity> getCapacity()
getCapacity
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A withCapacity(Map<String,Quantity> capacity)
withCapacity
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public Boolean hasCapacity()
hasCapacity
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addToConditions(int index, NodeCondition item)
addToConditions
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A setToConditions(int index, NodeCondition item)
setToConditions
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addToConditions(NodeCondition... items)
addToConditions
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addAllToConditions(Collection<NodeCondition> items)
addAllToConditions
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A removeFromConditions(NodeCondition... items)
removeFromConditions
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A removeAllFromConditions(Collection<NodeCondition> items)
removeAllFromConditions
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
@Deprecated public List<NodeCondition> getConditions()
getConditions
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public List<NodeCondition> buildConditions()
buildConditions
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeCondition buildCondition(int index)
buildCondition
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeCondition buildFirstCondition()
buildFirstCondition
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeCondition buildLastCondition()
buildLastCondition
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeCondition buildMatchingCondition(Predicate<NodeConditionBuilder> predicate)
buildMatchingCondition
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A withConditions(List<NodeCondition> conditions)
withConditions
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A withConditions(NodeCondition... conditions)
withConditions
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public Boolean hasConditions()
hasConditions
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.ConditionsNested<A> addNewCondition()
addNewCondition
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.ConditionsNested<A> addNewConditionLike(NodeCondition item)
addNewConditionLike
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.ConditionsNested<A> setNewConditionLike(int index, NodeCondition item)
setNewConditionLike
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.ConditionsNested<A> editCondition(int index)
editCondition
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.ConditionsNested<A> editFirstCondition()
editFirstCondition
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.ConditionsNested<A> editLastCondition()
editLastCondition
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.ConditionsNested<A> editMatchingCondition(Predicate<NodeConditionBuilder> predicate)
editMatchingCondition
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
@Deprecated public NodeDaemonEndpoints getDaemonEndpoints()
getDaemonEndpoints
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeDaemonEndpoints buildDaemonEndpoints()
buildDaemonEndpoints
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A withDaemonEndpoints(NodeDaemonEndpoints daemonEndpoints)
withDaemonEndpoints
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public Boolean hasDaemonEndpoints()
hasDaemonEndpoints
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.DaemonEndpointsNested<A> withNewDaemonEndpoints()
withNewDaemonEndpoints
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.DaemonEndpointsNested<A> withNewDaemonEndpointsLike(NodeDaemonEndpoints item)
withNewDaemonEndpointsLike
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.DaemonEndpointsNested<A> editDaemonEndpoints()
editDaemonEndpoints
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.DaemonEndpointsNested<A> editOrNewDaemonEndpoints()
editOrNewDaemonEndpoints
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.DaemonEndpointsNested<A> editOrNewDaemonEndpointsLike(NodeDaemonEndpoints item)
editOrNewDaemonEndpointsLike
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addToImages(int index, ContainerImage item)
addToImages
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A setToImages(int index, ContainerImage item)
setToImages
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addToImages(ContainerImage... items)
addToImages
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addAllToImages(Collection<ContainerImage> items)
addAllToImages
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A removeFromImages(ContainerImage... items)
removeFromImages
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A removeAllFromImages(Collection<ContainerImage> items)
removeAllFromImages
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
@Deprecated public List<ContainerImage> getImages()
getImages
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public List<ContainerImage> buildImages()
buildImages
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public ContainerImage buildImage(int index)
buildImage
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public ContainerImage buildFirstImage()
buildFirstImage
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public ContainerImage buildLastImage()
buildLastImage
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public ContainerImage buildMatchingImage(Predicate<ContainerImageBuilder> predicate)
buildMatchingImage
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A withImages(List<ContainerImage> images)
withImages
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A withImages(ContainerImage... images)
withImages
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public Boolean hasImages()
hasImages
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.ImagesNested<A> addNewImage()
addNewImage
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.ImagesNested<A> addNewImageLike(ContainerImage item)
addNewImageLike
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.ImagesNested<A> setNewImageLike(int index, ContainerImage item)
setNewImageLike
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.ImagesNested<A> editImage(int index)
editImage
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.ImagesNested<A> editFirstImage()
editFirstImage
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.ImagesNested<A> editLastImage()
editLastImage
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.ImagesNested<A> editMatchingImage(Predicate<ContainerImageBuilder> predicate)
editMatchingImage
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
@Deprecated public NodeSystemInfo getNodeInfo()
getNodeInfo
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeSystemInfo buildNodeInfo()
buildNodeInfo
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A withNodeInfo(NodeSystemInfo nodeInfo)
withNodeInfo
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public Boolean hasNodeInfo()
hasNodeInfo
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.NodeInfoNested<A> withNewNodeInfo()
withNewNodeInfo
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.NodeInfoNested<A> withNewNodeInfoLike(NodeSystemInfo item)
withNewNodeInfoLike
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.NodeInfoNested<A> editNodeInfo()
editNodeInfo
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.NodeInfoNested<A> editOrNewNodeInfo()
editOrNewNodeInfo
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.NodeInfoNested<A> editOrNewNodeInfoLike(NodeSystemInfo item)
editOrNewNodeInfoLike
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public String getPhase()
getPhase
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A withPhase(String phase)
withPhase
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public Boolean hasPhase()
hasPhase
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addToVolumesAttached(int index, AttachedVolume item)
addToVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A setToVolumesAttached(int index, AttachedVolume item)
setToVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addToVolumesAttached(AttachedVolume... items)
addToVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addAllToVolumesAttached(Collection<AttachedVolume> items)
addAllToVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A removeFromVolumesAttached(AttachedVolume... items)
removeFromVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A removeAllFromVolumesAttached(Collection<AttachedVolume> items)
removeAllFromVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
@Deprecated public List<AttachedVolume> getVolumesAttached()
getVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public List<AttachedVolume> buildVolumesAttached()
buildVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public AttachedVolume buildVolumesAttached(int index)
buildVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public AttachedVolume buildFirstVolumesAttached()
buildFirstVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public AttachedVolume buildLastVolumesAttached()
buildLastVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public AttachedVolume buildMatchingVolumesAttached(Predicate<AttachedVolumeBuilder> predicate)
buildMatchingVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A withVolumesAttached(List<AttachedVolume> volumesAttached)
withVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A withVolumesAttached(AttachedVolume... volumesAttached)
withVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public Boolean hasVolumesAttached()
hasVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.VolumesAttachedNested<A> addNewVolumesAttached()
addNewVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.VolumesAttachedNested<A> addNewVolumesAttachedLike(AttachedVolume item)
addNewVolumesAttachedLike
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.VolumesAttachedNested<A> setNewVolumesAttachedLike(int index, AttachedVolume item)
setNewVolumesAttachedLike
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.VolumesAttachedNested<A> editVolumesAttached(int index)
editVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.VolumesAttachedNested<A> editFirstVolumesAttached()
editFirstVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.VolumesAttachedNested<A> editLastVolumesAttached()
editLastVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public NodeStatusFluent.VolumesAttachedNested<A> editMatchingVolumesAttached(Predicate<AttachedVolumeBuilder> predicate)
editMatchingVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addNewVolumesAttached(String devicePath, String name)
addNewVolumesAttached
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addToVolumesInUse(int index, String item)
addToVolumesInUse
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A setToVolumesInUse(int index, String item)
setToVolumesInUse
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addToVolumesInUse(String... items)
addToVolumesInUse
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A addAllToVolumesInUse(Collection<String> items)
addAllToVolumesInUse
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A removeFromVolumesInUse(String... items)
removeFromVolumesInUse
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A removeAllFromVolumesInUse(Collection<String> items)
removeAllFromVolumesInUse
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public List<String> getVolumesInUse()
getVolumesInUse
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public String getVolumesInUse(int index)
getVolumesInUse
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public String getFirstVolumesInUse()
getFirstVolumesInUse
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public String getLastVolumesInUse()
getLastVolumesInUse
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public String getMatchingVolumesInUse(Predicate<String> predicate)
getMatchingVolumesInUse
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A withVolumesInUse(List<String> volumesInUse)
withVolumesInUse
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public A withVolumesInUse(String... volumesInUse)
withVolumesInUse
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
public Boolean hasVolumesInUse()
hasVolumesInUse
in interface NodeStatusFluent<A extends NodeStatusFluent<A>>
Copyright © 2011–2017 Red Hat. All rights reserved.