hudson.plugins.cigame
Class UserScoreProperty

java.lang.Object
  extended by hudson.model.UserProperty
      extended by hudson.plugins.cigame.UserScoreProperty
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.model.UserProperty>

@ExportedBean(defaultVisibility=999)
public class UserScoreProperty
extends hudson.model.UserProperty

Author:
Erik Ramfelt

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.model.UserProperty
user
 
Constructor Summary
UserScoreProperty()
           
UserScoreProperty(double score, boolean participatingInGame)
           
 
Method Summary
 hudson.model.UserPropertyDescriptor getDescriptor()
           
 double getScore()
           
 hudson.model.User getUser()
           
 boolean isParticipatingInGame()
           
 void setScore(double score)
           
 
Methods inherited from class hudson.model.UserProperty
all
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserScoreProperty

public UserScoreProperty()

UserScoreProperty

@DataBoundConstructor
public UserScoreProperty(double score,
                                              boolean participatingInGame)
Method Detail

getDescriptor

public hudson.model.UserPropertyDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.model.UserProperty>
Overrides:
getDescriptor in class hudson.model.UserProperty

getUser

@Exported
public hudson.model.User getUser()

getScore

@Exported
public double getScore()

setScore

public void setScore(double score)

isParticipatingInGame

@Exported
public boolean isParticipatingInGame()


Copyright © 2009. All Rights Reserved.