hudson.plugins.cigame
Class GameDescriptor

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

public class GameDescriptor
extends hudson.model.Descriptor<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
protected GameDescriptor()
           
 
Method Summary
 java.lang.String getDisplayName()
           
 RuleBook getRuleBook()
          Returns the default rule book
 hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 
Methods inherited from class hudson.model.Descriptor
configure, configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, 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

protected 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 hudson.tasks.Publisher 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


Copyright © 2009. All Rights Reserved.