public class JobListFluentImpl<A extends JobListFluent<A>> extends BaseFluent<A> implements JobListFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
JobListFluentImpl.ItemsNestedImpl<N> |
class |
JobListFluentImpl.MetadataNestedImpl<N> |
JobListFluent.ItemsNested<N>, JobListFluent.MetadataNested<N>
_visitables
Constructor and Description |
---|
JobListFluentImpl() |
JobListFluentImpl(JobList instance) |
public JobListFluentImpl()
public JobListFluentImpl(JobList instance)
public String getApiVersion()
getApiVersion
in interface JobListFluent<A extends JobListFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface JobListFluent<A extends JobListFluent<A>>
public Boolean hasApiVersion()
hasApiVersion
in interface JobListFluent<A extends JobListFluent<A>>
public A addToItems(int index, Job item)
addToItems
in interface JobListFluent<A extends JobListFluent<A>>
public A setToItems(int index, Job item)
setToItems
in interface JobListFluent<A extends JobListFluent<A>>
public A addToItems(Job... items)
addToItems
in interface JobListFluent<A extends JobListFluent<A>>
public A addAllToItems(Collection<Job> items)
addAllToItems
in interface JobListFluent<A extends JobListFluent<A>>
public A removeFromItems(Job... items)
removeFromItems
in interface JobListFluent<A extends JobListFluent<A>>
public A removeAllFromItems(Collection<Job> items)
removeAllFromItems
in interface JobListFluent<A extends JobListFluent<A>>
@Deprecated public List<Job> getItems()
getItems
in interface JobListFluent<A extends JobListFluent<A>>
public List<Job> buildItems()
buildItems
in interface JobListFluent<A extends JobListFluent<A>>
public Job buildItem(int index)
buildItem
in interface JobListFluent<A extends JobListFluent<A>>
public Job buildFirstItem()
buildFirstItem
in interface JobListFluent<A extends JobListFluent<A>>
public Job buildLastItem()
buildLastItem
in interface JobListFluent<A extends JobListFluent<A>>
public Job buildMatchingItem(Predicate<JobBuilder> predicate)
buildMatchingItem
in interface JobListFluent<A extends JobListFluent<A>>
public A withItems(List<Job> items)
withItems
in interface JobListFluent<A extends JobListFluent<A>>
public A withItems(Job... items)
withItems
in interface JobListFluent<A extends JobListFluent<A>>
public Boolean hasItems()
hasItems
in interface JobListFluent<A extends JobListFluent<A>>
public JobListFluent.ItemsNested<A> addNewItem()
addNewItem
in interface JobListFluent<A extends JobListFluent<A>>
public JobListFluent.ItemsNested<A> addNewItemLike(Job item)
addNewItemLike
in interface JobListFluent<A extends JobListFluent<A>>
public JobListFluent.ItemsNested<A> setNewItemLike(int index, Job item)
setNewItemLike
in interface JobListFluent<A extends JobListFluent<A>>
public JobListFluent.ItemsNested<A> editItem(int index)
editItem
in interface JobListFluent<A extends JobListFluent<A>>
public JobListFluent.ItemsNested<A> editFirstItem()
editFirstItem
in interface JobListFluent<A extends JobListFluent<A>>
public JobListFluent.ItemsNested<A> editLastItem()
editLastItem
in interface JobListFluent<A extends JobListFluent<A>>
public JobListFluent.ItemsNested<A> editMatchingItem(Predicate<JobBuilder> predicate)
editMatchingItem
in interface JobListFluent<A extends JobListFluent<A>>
public String getKind()
getKind
in interface JobListFluent<A extends JobListFluent<A>>
public A withKind(String kind)
withKind
in interface JobListFluent<A extends JobListFluent<A>>
public Boolean hasKind()
hasKind
in interface JobListFluent<A extends JobListFluent<A>>
@Deprecated public ListMeta getMetadata()
getMetadata
in interface JobListFluent<A extends JobListFluent<A>>
public ListMeta buildMetadata()
buildMetadata
in interface JobListFluent<A extends JobListFluent<A>>
public A withMetadata(ListMeta metadata)
withMetadata
in interface JobListFluent<A extends JobListFluent<A>>
public Boolean hasMetadata()
hasMetadata
in interface JobListFluent<A extends JobListFluent<A>>
public A withNewMetadata(String _continue, String resourceVersion, String selfLink)
withNewMetadata
in interface JobListFluent<A extends JobListFluent<A>>
public JobListFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface JobListFluent<A extends JobListFluent<A>>
public JobListFluent.MetadataNested<A> withNewMetadataLike(ListMeta item)
withNewMetadataLike
in interface JobListFluent<A extends JobListFluent<A>>
public JobListFluent.MetadataNested<A> editMetadata()
editMetadata
in interface JobListFluent<A extends JobListFluent<A>>
public JobListFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface JobListFluent<A extends JobListFluent<A>>
public JobListFluent.MetadataNested<A> editOrNewMetadataLike(ListMeta item)
editOrNewMetadataLike
in interface JobListFluent<A extends JobListFluent<A>>
Copyright © 2015–2018 Red Hat. All rights reserved.