hudson.plugins.redmine
Class RedmineProjectProperty

java.lang.Object
  extended by hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
      extended by hudson.plugins.redmine.RedmineProjectProperty
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.model.JobProperty<?>>, hudson.tasks.BuildStep

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

Property for AbstractProject that stores the associated Redmine website URL.

Author:
gaooh

Nested Class Summary
static class RedmineProjectProperty.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
static RedmineProjectProperty.DescriptorImpl DESCRIPTOR
           
 java.lang.String projectName
           
 java.lang.Boolean redmineVersion
           
 java.lang.String redmineWebsite
           
 
Fields inherited from class hudson.model.JobProperty
owner
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
RedmineProjectProperty(java.lang.String redmineWebsite, java.lang.String projectName, java.lang.Boolean redmineVersion)
           
 
Method Summary
 hudson.model.JobPropertyDescriptor getDescriptor()
           
 hudson.model.Action getJobAction(hudson.model.AbstractProject<?,?> job)
           
 
Methods inherited from class hudson.model.JobProperty
getProjectAction, getRequiredMonitorService, perform, prebuild, setOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

redmineWebsite

public final java.lang.String redmineWebsite

projectName

public final java.lang.String projectName

redmineVersion

public final java.lang.Boolean redmineVersion

DESCRIPTOR

@Extension
public static final RedmineProjectProperty.DescriptorImpl DESCRIPTOR
Constructor Detail

RedmineProjectProperty

@DataBoundConstructor
public RedmineProjectProperty(java.lang.String redmineWebsite,
                                                   java.lang.String projectName,
                                                   java.lang.Boolean redmineVersion)
Method Detail

getJobAction

public hudson.model.Action getJobAction(hudson.model.AbstractProject<?,?> job)
Overrides:
getJobAction in class hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>

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.AbstractProject<?,?>>


Copyright © 2009. All Rights Reserved.