jetbrains.buildServer.controllers
Class CompositeStatefulObject

java.lang.Object
  extended by jetbrains.buildServer.controllers.CompositeStatefulObject
All Implemented Interfaces:
StatefulObject

public class CompositeStatefulObject
extends java.lang.Object
implements StatefulObject

User: kir Composite state object


Constructor Summary
CompositeStatefulObject(StatefulObject... states)
           
 
Method Summary
 boolean isStateModified()
          Returns true if this object state has changed since last method calling StatefulObject.rememberState()
 void rememberState()
          Remembers object current state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeStatefulObject

public CompositeStatefulObject(StatefulObject... states)
Parameters:
states - may contain nulls
Method Detail

rememberState

public void rememberState()
Description copied from interface: StatefulObject
Remembers object current state.

Specified by:
rememberState in interface StatefulObject

isStateModified

public boolean isStateModified()
Description copied from interface: StatefulObject
Returns true if this object state has changed since last method calling StatefulObject.rememberState()

Specified by:
isStateModified in interface StatefulObject
Returns:
true if state has changed