com.atomikos.finitestates.StateMutable Maven / Gradle / Ivy
/**
* Copyright (C) 2000-2019 Atomikos
*
* LICENSE CONDITIONS
*
* See http://www.atomikos.com/Main/WhichLicenseApplies for details.
*/
package com.atomikos.finitestates;
import com.atomikos.recovery.TxState;
public interface StateMutable extends Stateful{
/**
*@exception IllegalStateException if the new state transition to
*the new state is not allowed.
*/
public void setState(TxState s) throws IllegalStateException;
}