IActionService

public interface IActionService

Methods

actionContributions

Iterable<TransformActionContrib> actionContributions(ILanguageImpl language, ITransformGoal goal)

Gets transform action contributions for given transform goal.

Parameters:
  • language – Language implementation to get transform actions from.
  • goal – Goal to get transform actions for.
Returns:

Transform action contributions.

actions

Iterable<ITransformAction> actions(ILanguageImpl language, ITransformGoal goal)

Gets transform actions for given goal.

Parameters:
  • language – Language implementation to get transform actions from.
  • goal – Goal to get transform actions for.
Returns:

Transform actions.

available

boolean available(ILanguageImpl language, ITransformGoal goal)

Checks if transform actions are available for given transform goal.

Parameters:
  • language – Language implementation to check transform actions from.
  • goal – Goal to check transform actions for.
Returns:

True if transform actions are available, false if not.

requiresAnalysis

boolean requiresAnalysis(ILanguageImpl language, ITransformGoal goal)

Checks if analysis is required for given transform goal.

Parameters:
  • language – Language implementation to check from.
  • goal – Goal to check for.
Returns:

True if analysis is required, false if not.