hudson.plugins.build_publisher
Class ExternalProjectProperty
java.lang.Object
hudson.model.JobProperty<hudson.model.Job<?,?>>
hudson.plugins.build_publisher.ExternalProjectProperty
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Action, hudson.model.Describable<hudson.model.JobProperty<?>>, hudson.model.ModelObject, hudson.model.ProminentProjectAction, hudson.tasks.BuildStep
public class ExternalProjectProperty
- extends hudson.model.JobProperty<hudson.model.Job<?,?>>
- implements hudson.model.ProminentProjectAction
Recieves builds submitted remotely via HTTP.
- Author:
- dvrzalik@redhat.com
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.model.JobProperty |
owner |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
|
Method Summary |
static void |
applyToProject(hudson.model.Job<?,?> job)
Checks if the given project already has this property and posibly adds it (recursive for ItemGroups). |
void |
doAcceptBuild(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
"Collecting basket" for incoming builds. |
void |
doAcceptMavenModule(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Accepts incoming MavenModule, provided that current project is
MavenModuleSet |
hudson.model.JobPropertyDescriptor |
getDescriptor()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getIconFileName()
|
hudson.model.ProminentProjectAction |
getJobAction(hudson.model.Job<?,?> job)
|
java.lang.String |
getUrlName()
|
| Methods inherited from class hudson.model.JobProperty |
getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, setOwner |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR
public static final ExternalProjectProperty.ExternalProjectPropertyDescriptor DESCRIPTOR
ExternalProjectProperty
public ExternalProjectProperty()
getDescriptor
public hudson.model.JobPropertyDescriptor getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.model.JobProperty<?>>- Overrides:
getDescriptor in class hudson.model.JobProperty<hudson.model.Job<?,?>>
getJobAction
public hudson.model.ProminentProjectAction getJobAction(hudson.model.Job<?,?> job)
- Overrides:
getJobAction in class hudson.model.JobProperty<hudson.model.Job<?,?>>
doAcceptMavenModule
public void doAcceptMavenModule(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException
- Accepts incoming MavenModule, provided that current project is
MavenModuleSet
- Throws:
java.io.IOException
doAcceptBuild
public void doAcceptBuild(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
java.lang.InterruptedException
- "Collecting basket" for incoming builds.
- Throws:
java.io.IOException
java.lang.InterruptedException
applyToProject
public static void applyToProject(hudson.model.Job<?,?> job)
throws java.io.IOException
- Checks if the given project already has this property and posibly adds it (recursive for ItemGroups).
- Throws:
java.io.IOException
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.Action- Specified by:
getDisplayName in interface hudson.model.ModelObject
getIconFileName
public java.lang.String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action
getUrlName
public java.lang.String getUrlName()
- Specified by:
getUrlName in interface hudson.model.Action
Copyright © 2004-2011. All Rights Reserved.