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 classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.JobProperty
owner
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
-
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:Describable
Gets the descriptor for this instance.Descriptor
is a singleton for every concreteDescribable
implementation, 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:
getDescriptor
in interfaceDescribable<J extends Job<?,
?>> - Overrides:
getDescriptor
in classJobProperty<J extends Job<?,
?>>
-