Package jenkins.model
Class OptionalJobProperty<J extends Job<?,?>> 
java.lang.Object
hudson.model.JobProperty<J>
jenkins.model.OptionalJobProperty<J>
- All Implemented Interfaces:
 ExtensionPoint,Describable<JobProperty<?>>,ReconfigurableDescribable<JobProperty<?>>,BuildStep
- Direct Known Subclasses:
 BuildDiscarderProperty,ParametersDefinitionProperty
Job property which may or may not be present.
 Must define 
config-details.jelly or config-details.groovy.
 May define help.html.- Since:
 - 1.637
 
- 
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson - 
Field Summary
Fields inherited from class hudson.model.JobProperty
ownerFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionGets the descriptor for this instance.Methods inherited from class hudson.model.JobProperty
getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, reconfigure, setOwner 
- 
Constructor Details
- 
OptionalJobProperty
public OptionalJobProperty() 
 - 
 - 
Method Details
- 
getDescriptor
Description copied from interface:DescribableGets the descriptor for this instance.Descriptoris a singleton for every concreteDescribableimplementation, so ifa.getClass() == b.getClass()then by defaulta.getDescriptor() == b.getDescriptor()as well. (In rare cases a single implementation class may be used for instances with distinct descriptors.)- Specified by:
 getDescriptorin interfaceDescribable<J extends Job<?,?>> - Overrides:
 getDescriptorin classJobProperty<J extends Job<?,?>> 
 
 -