@Extension
public class CustomMsgJobProperty
extends hudson.model.JobProperty<hudson.model.Job<?,?>>
Modifier and Type | Class and Description |
---|---|
static class |
CustomMsgJobProperty.DescriptorImpl |
Constructor and Description |
---|
CustomMsgJobProperty() |
CustomMsgJobProperty(boolean on,
String briefDesc,
boolean insertOnFinish) |
Modifier and Type | Method and Description |
---|---|
String |
getBriefDesc() |
hudson.model.JobPropertyDescriptor |
getDescriptor() |
boolean |
isInsertOnFinish() |
boolean |
isOn() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
boolean |
prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
void |
setBriefDesc(String briefDesc) |
void |
setInsertOnFinish(boolean insertOnFinish) |
void |
setOn(boolean on) |
@DataBoundConstructor public CustomMsgJobProperty(boolean on, String briefDesc, boolean insertOnFinish)
public CustomMsgJobProperty()
public boolean isInsertOnFinish()
public void setInsertOnFinish(boolean insertOnFinish)
public String getBriefDesc()
public void setBriefDesc(String briefDesc)
public boolean isOn()
public void setOn(boolean on)
public hudson.model.JobPropertyDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.model.JobProperty<?>>
getDescriptor
in class hudson.model.JobProperty<hudson.model.Job<?,?>>
public boolean prebuild(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
prebuild
in interface hudson.tasks.BuildStep
prebuild
in class hudson.model.JobProperty<hudson.model.Job<?,?>>
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.model.JobProperty<hudson.model.Job<?,?>>
InterruptedException
IOException
Copyright © 2016–2018. All rights reserved.