Deprecated AMWorkflow Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Available in OS X v10.5 through OS X v10.6

actions

Returns an array of the workflow’s actions. (Available in OS X v10.5 through OS X v10.6.)

- (NSArray *)actions
Return Value

An array of actions for the workflow file. Actions are instances of classes such as AMBundleAction, AMAppleScriptAction, and AMShellScriptAction.

Availability
  • Available in OS X v10.5 through OS X v10.6.
Declared In
AMWorkflow.h

fileURL

Returns a URL that specifies the location of the workflow file. (Available in OS X v10.5 through OS X v10.6.)

- (NSURL *)fileURL
Return Value

URL that specifies the location of the workflow file.

Availability
  • Available in OS X v10.5 through OS X v10.6.
Declared In
AMWorkflow.h

input

Returns the input data that is passed to the first action in the workflow. (Available in OS X v10.5 through OS X v10.6.)

- (id)input
Return Value

The input for the first action in the workflow. Should be a data type the action can use, or a type that can be converted to one the action can use.

Availability
  • Available in OS X v10.5 through OS X v10.6.
Declared In
AMWorkflow.h

setInput:

Sets the input data that is passed to the first action in the workflow. (Available in OS X v10.5 through OS X v10.6.)

- (void)setInput:(id)input
Parameters
input

The input for the first action in the workflow. Should be a data type the action can use, or a type that can be converted to one the action can use.

Availability
  • Available in OS X v10.5 through OS X v10.6.
See Also
Declared In
AMWorkflow.h