hudson.plugins.trac
Class TracProjectProperty

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

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

Property for AbstractProject that stores the associated Trac website URL.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class TracProjectProperty.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 TracProjectProperty.DescriptorImpl DESCRIPTOR
           
 java.lang.String tracWebsite
          Trac website URL that this project uses.
 
Fields inherited from class hudson.model.JobProperty
owner
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
TracProjectProperty(java.lang.String tracWebsite)
           
 
Method Summary
 TracProjectProperty.DescriptorImpl getDescriptor()
           
 hudson.model.Action getJobAction(hudson.model.AbstractProject<?,?> job)
           
 
Methods inherited from class hudson.model.JobProperty
getProjectAction, perform, prebuild, setOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tracWebsite

public final java.lang.String tracWebsite
Trac website URL that this project uses. This value is normalized and therefore it always ends with '/'. Null if this is not configured yet.


DESCRIPTOR

public static final TracProjectProperty.DescriptorImpl DESCRIPTOR
Constructor Detail

TracProjectProperty

@DataBoundConstructor
public TracProjectProperty(java.lang.String tracWebsite)
Method Detail

getJobAction

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

getDescriptor

public TracProjectProperty.DescriptorImpl 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.