Package io.fabric8.jenkins.openshiftsync
Class BuildConfigProjectProperty
- java.lang.Object
-
- hudson.model.JobProperty<Job<?,?>>
-
- io.fabric8.jenkins.openshiftsync.BuildConfigProjectProperty
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<JobProperty<?>>
,ReconfigurableDescribable<JobProperty<?>>
,BuildStep
public class BuildConfigProjectProperty extends JobProperty<Job<?,?>>
Stores the OpenShift Build Config related project properties. - Namespace - Build config name - Build config uid - Build config resource version - Build config run policy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BuildConfigProjectProperty.DescriptorImpl
-
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
Constructors Constructor Description BuildConfigProjectProperty(io.fabric8.openshift.api.model.BuildConfig bc)
BuildConfigProjectProperty(String namespace, String name, String uid, String resourceVersion, String buildRunPolicy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.fabric8.openshift.api.model.BuildConfig
getBuildConfig()
String
getBuildRunPolicy()
String
getName()
String
getNamespace()
String
getResourceVersion()
String
getUid()
void
setBuildRunPolicy(String buildRunPolicy)
void
setName(String name)
void
setNamespace(String namespace)
void
setResourceVersion(String resourceVersion)
void
setUid(String uid)
-
Methods inherited from class hudson.model.JobProperty
getDescriptor, getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, setOwner
-
-
-
-
Constructor Detail
-
BuildConfigProjectProperty
@DataBoundConstructor public BuildConfigProjectProperty(String namespace, String name, String uid, String resourceVersion, String buildRunPolicy)
-
BuildConfigProjectProperty
public BuildConfigProjectProperty(io.fabric8.openshift.api.model.BuildConfig bc)
-
-
Method Detail
-
getBuildConfig
public io.fabric8.openshift.api.model.BuildConfig getBuildConfig()
-
getUid
public String getUid()
-
setUid
public void setUid(String uid)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getNamespace
public String getNamespace()
-
setNamespace
public void setNamespace(String namespace)
-
getResourceVersion
public String getResourceVersion()
-
setResourceVersion
public void setResourceVersion(String resourceVersion)
-
getBuildRunPolicy
public String getBuildRunPolicy()
-
setBuildRunPolicy
public void setBuildRunPolicy(String buildRunPolicy)
-
-