Class Index | File Index

Classes


Class ops.OperationFactory


Defined in: OperationFactory.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<inner>  
construct(Constructor)
 
create(spec)
Create an instance of an operation based on the provided spec
 
register(specName, specConstructor)
Registers an operation constructor with this operation factory
Class Detail
ops.OperationFactory()
Method Detail
<inner> {!ops.OperationFactory.SpecConstructor} construct(Constructor)
Parameters:
{!function(new:ops.Operation)} Constructor
Returns:
{!ops.OperationFactory.SpecConstructor}

{ops.Operation} create(spec)
Create an instance of an operation based on the provided spec
Parameters:
{!{optype:string}} spec
Returns:
{ops.Operation}

{undefined} register(specName, specConstructor)
Registers an operation constructor with this operation factory
Parameters:
{!string} specName
{!ops.OperationFactory.SpecConstructor} specConstructor
Returns:
{undefined}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Aug 06 2015 04:10:41 GMT+0200 (MESZ)