Package org.angular.ts.ng
Interface Machine<TContract>
@JsType(isNative=true,
name="ng.Machine",
namespace="<global>")
public interface Machine<TContract>
Public AngularTS Machine contract exposed through the global ng namespace for Closure-annotated applications.
-
Method Summary
Modifier and TypeMethodDescription<TType> booleanPublic Machine.can member exposed by the AngularTS namespace contract.getData()Public Machine.data member exposed by the AngularTS namespace contract.getState()Public Machine.state member exposed by the AngularTS namespace contract.booleanPublic Machine.matches member exposed by the AngularTS namespace contract.voidPublic Machine.restore member exposed by the AngularTS namespace contract.<TType> ObjectPublic Machine.send member exposed by the AngularTS namespace contract.voidPublic Machine.data member exposed by the AngularTS namespace contract.voidPublic Machine.state member exposed by the AngularTS namespace contract.snapshot()Public Machine.snapshot member exposed by the AngularTS namespace contract.
-
Method Details
-
can
Public Machine.can member exposed by the AngularTS namespace contract.- Parameters:
type- Value supplied for the type parameter.var_args- Value supplied for the payload parameter.- Returns:
- Method result.
-
getData
Public Machine.data member exposed by the AngularTS namespace contract. -
getState
Public Machine.state member exposed by the AngularTS namespace contract. -
matches
Public Machine.matches member exposed by the AngularTS namespace contract.- Parameters:
state- Value supplied for the state parameter.- Returns:
- Method result.
-
restore
Public Machine.restore member exposed by the AngularTS namespace contract.- Parameters:
snapshot- Value supplied for the snapshot parameter.
-
send
Public Machine.send member exposed by the AngularTS namespace contract.- Parameters:
type- Value supplied for the type parameter.var_args- Value supplied for the payload parameter.- Returns:
- Method result.
-
setData
Public Machine.data member exposed by the AngularTS namespace contract. -
setState
Public Machine.state member exposed by the AngularTS namespace contract. -
snapshot
MachineSnapshot<TContract> snapshot()Public Machine.snapshot member exposed by the AngularTS namespace contract.- Returns:
- Method result.
-