{@link Plugin}s can extend this to define custom properties for {@link Job}s. {@link JobProperty}s show up in the user configuration screen, and they are persisted with the job object.
Configuration screen should be defined in config.jelly. Within this page, the {@link JobProperty} instance is availableas instance variable (while it refers to {@link Job}.
Starting 1.150, {@link JobProperty} implements {@link BuildStep}, meaning it gets the same hook as {@link Publisher} and {@link Builder}. The primary intention of this mechanism is so that {@link JobProperty}s can add actions to the new build. The {@link #perform(AbstractBuild,Launcher,BuildListener)}and {@link #prebuild(AbstractBuild,BuildListener)} are invoked after thoseof {@link Publisher}s. @param < J> When you restrict your job property to be only applicable to a certain subtype of {@link Job}, you can use this type parameter to improve the type signature of this class. See {@link JobPropertyDescriptor#isApplicable(Class)}. @author Kohsuke Kawaguchi @see JobPropertyDescriptor @since 1.72
|
|
|
|
|
|