hudson.plugins.cigame
Class GameDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by hudson.plugins.cigame.GameDescriptor
All Implemented Interfaces:
hudson.model.Saveable

@Extension
public class GameDescriptor
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
static java.lang.String ACTION_LOGO_LARGE
           
static java.lang.String ACTION_LOGO_MEDIUM
           
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
GameDescriptor()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
           
 java.lang.String getDisplayName()
           
 boolean getNamesAreCaseSensitive()
           
 RuleBook getRuleBook()
          Returns the default rule book
 boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> arg0)
           
 GamePublisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 void setNamesAreCaseSensitive(boolean namesAreCaseSensitive)
           
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_LOGO_LARGE

public static final java.lang.String ACTION_LOGO_LARGE
See Also:
Constant Field Values

ACTION_LOGO_MEDIUM

public static final java.lang.String ACTION_LOGO_MEDIUM
See Also:
Constant Field Values
Constructor Detail

GameDescriptor

public GameDescriptor()
Method Detail

getRuleBook

public RuleBook getRuleBook()
Returns the default rule book

Returns:
the rule book that is configured for the game.

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>

newInstance

public GamePublisher newInstance(org.kohsuke.stapler.StaplerRequest req,
                                 net.sf.json.JSONObject formData)
                          throws hudson.model.Descriptor.FormException
Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>
Throws:
hudson.model.Descriptor.FormException

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject json)
                  throws hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
Throws:
hudson.model.Descriptor.FormException

getNamesAreCaseSensitive

public boolean getNamesAreCaseSensitive()

setNamesAreCaseSensitive

public void setNamesAreCaseSensitive(boolean namesAreCaseSensitive)

isApplicable

public boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> arg0)
Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>


Copyright © 2010. All Rights Reserved.