org.hudsonci.plugins.snapshotmonitor
Class WatchedDependenciesProperty

java.lang.Object
  extended by hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
      extended by org.hudsonci.plugins.snapshotmonitor.WatchedDependenciesProperty
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.model.JobProperty<?>>, hudson.tasks.BuildStep

public class WatchedDependenciesProperty
extends hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>

Property to attach WatchedDependencies to a project. A property is required to more easily hook up the dependencies when the project loads.

Since:
2.1.0
Author:
Jason Dillon

Nested Class Summary
static class WatchedDependenciesProperty.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.model.JobProperty
owner
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
WatchedDependenciesProperty()
           
 
Method Summary
 Collection<WatchedDependency> get()
           
 WatchedDependenciesProperty.DescriptorImpl getDescriptor()
           
 void set(Collection<WatchedDependency> dependencies)
           
protected  void setOwner(hudson.model.AbstractProject<?,?> owner)
           
 
Methods inherited from class hudson.model.JobProperty
getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WatchedDependenciesProperty

@DataBoundConstructor
public WatchedDependenciesProperty()
Method Detail

getDescriptor

public WatchedDependenciesProperty.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.model.JobProperty<?>>
Overrides:
getDescriptor in class hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>

setOwner

protected void setOwner(hudson.model.AbstractProject<?,?> owner)
Overrides:
setOwner in class hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>

get

public Collection<WatchedDependency> get()

set

public void set(Collection<WatchedDependency> dependencies)


Copyright © 2004-2011 Hudson. All Rights Reserved.