com.atlassian.bamboo.core
Class ScriptImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.core.ScriptImpl
All Implemented Interfaces:
BambooIdProvider, BambooObject, Script, java.lang.Cloneable

public class ScriptImpl
extends BambooEntityObject
implements Script


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
ScriptImpl()
           
ScriptImpl(java.lang.String body)
           
 
Method Summary
 java.lang.String getBody()
          The accessor for the script body.
 void setBody(java.lang.String body)
          The mutator for the script body.
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptImpl

public ScriptImpl()

ScriptImpl

public ScriptImpl(java.lang.String body)
Method Detail

getBody

@NotNull
public java.lang.String getBody()
Description copied from interface: Script
The accessor for the script body.

Specified by:
getBody in interface Script
Returns:
the script body

setBody

public void setBody(@NotNull
                    java.lang.String body)
Description copied from interface: Script
The mutator for the script body.

Specified by:
setBody in interface Script
Parameters:
body - the script body.


Copyright © 2012 Atlassian. All Rights Reserved.