com.pmease.quickbuild.model
Class Token

java.lang.Object
  extended by com.pmease.quickbuild.model.AbstractEntity
      extended by com.pmease.quickbuild.model.Token
All Implemented Interfaces:
java.io.Serializable

@Entity
public class Token
extends AbstractEntity
implements java.io.Serializable

This class represents assigned grid token which can be used by build agent to access grid.

See Also:
Serialized Form

Constructor Summary
Token()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String getAddress()
           
 CloudProfile getCloudProfile()
           
 java.lang.String getHostName()
           
 java.lang.String getIp()
           
 java.lang.String getNodeLaunchId()
           
 int getPort()
           
 java.lang.String getValue()
           
 int hashCode()
           
 boolean isTest()
           
 void setCloudProfile(CloudProfile cloudProfile)
           
 void setHostName(java.lang.String hostName)
           
 void setIp(java.lang.String ip)
           
 void setNodeLaunchId(java.lang.String nodeLaunchId)
           
 void setPort(int port)
           
 void setTest(boolean test)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class com.pmease.quickbuild.model.AbstractEntity
getId, isNew, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Token

public Token()
Method Detail

getValue

public java.lang.String getValue()
Get value of this token.


setValue

public void setValue(java.lang.String value)

getIp

public java.lang.String getIp()
Get ip address associated with this token. Null if there is no ip associated with this token.


setIp

public void setIp(java.lang.String ip)

getPort

public int getPort()

setPort

public void setPort(int port)

isTest

public boolean isTest()

setTest

public void setTest(boolean test)

getCloudProfile

public CloudProfile getCloudProfile()

setCloudProfile

public void setCloudProfile(CloudProfile cloudProfile)

getHostName

public java.lang.String getHostName()

setHostName

public void setHostName(java.lang.String hostName)

getAddress

public java.lang.String getAddress()

getNodeLaunchId

public java.lang.String getNodeLaunchId()

setNodeLaunchId

public void setNodeLaunchId(java.lang.String nodeLaunchId)

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class AbstractEntity

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractEntity


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.