hudson.plugins.mantis
Class MantisProjectProperty

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

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

Associates AbstractProject with MantisSite.

Author:
Seiji Sogabe

Nested Class Summary
static class MantisProjectProperty.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 MantisProjectProperty.DescriptorImpl DESCRIPTOR
           
 
Fields inherited from class hudson.model.JobProperty
owner
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
MantisProjectProperty(java.lang.String siteName, java.lang.String pattern, java.lang.String regex, boolean linkEnabled)
           
 
Method Summary
 java.lang.String getPattern()
           
 java.lang.String getRegex()
           
 java.util.regex.Pattern getRegexpPattern()
           
 MantisSite getSite()
           
 java.lang.String getSiteName()
           
 boolean isLinkEnabled()
           
 
Methods inherited from class hudson.model.JobProperty
getDescriptor, getJobAction, getProjectAction, perform, prebuild, setOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTOR

@Extension
public static final MantisProjectProperty.DescriptorImpl DESCRIPTOR
Constructor Detail

MantisProjectProperty

@DataBoundConstructor
public MantisProjectProperty(java.lang.String siteName,
                                                  java.lang.String pattern,
                                                  java.lang.String regex,
                                                  boolean linkEnabled)
Method Detail

getSiteName

public java.lang.String getSiteName()

getPattern

public java.lang.String getPattern()

getRegex

public java.lang.String getRegex()

getRegexpPattern

public java.util.regex.Pattern getRegexpPattern()

isLinkEnabled

public boolean isLinkEnabled()

getSite

public MantisSite getSite()


Copyright © 2010. All Rights Reserved.