Class OwnershipDescriptionSource<TSourceType>
java.lang.Object
org.jenkinsci.plugins.ownership.model.OwnershipDescriptionSource<TSourceType>
- Type Parameters:
TSourceType- Type of the source items.
- Direct Known Subclasses:
FolderOwnershipDescriptionSource,JobOwnershipDescriptionSource,NodeOwnershipDescriptionSource,OwnershipDescriptionSource.DisabledSource
References the source of
OwnershipDescription.
This describable class is being used in UI (e.g. manage-owners page).
The summary info can be retrieved using summary.jelly.- Since:
- 0.9
- Author:
- Oleg Nenashev
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItem()Provides a reference to the item, which acts as a source.
-
Constructor Details
-
OwnershipDescriptionSource
-
-
Method Details
-
getItem
Provides a reference to the item, which acts as a source. It may beJob,Nodeor whatever other class.- Returns:
- Instance, which is referenced as an Item source.
nullmeans that there is no item, which could describe theOwnershipDescription.
-