Type Hierarchy:
  • Anything

A Goal represents an action that can be launched by ceylon.build.engine

A Goal has:

  • a name which must be unique inside a build configuration. name will be used from command line to ask for the Goal execution.
  • a dependencies list that lists goals that must be executed before this goal.
  • a tasks list that lists tasks that have to be executed for that Goal.
Initializer
Goal(String name, {Task*} tasks = [], {Goal*} dependencies = [])
Parameters:
  • name

    Goal's name.

    This will be used from command line to identify the goal. This means that name must be unique inside a build configuration.

    In addition, name should match following regular expression "[a-z][a-zA-Z0-9-.]*"

  • tasks = []

    List of tasks to execute

  • dependencies = []

    List of dependencies that must be executed before this goal

Attributes
dependenciesSource Code
shared {Goal*} dependencies

List of dependencies that must be executed before this goal

nameSource Code
shared String name

Goal's name.

This will be used from command line to identify the goal. This means that name must be unique inside a build configuration.

In addition, name should match following regular expression "[a-z][a-zA-Z0-9-.]*"

string
shared actual String string

A developer-friendly string representing the instance. Concatenates the name of the concrete class of the instance with the hash of the instance. Subclasses are encouraged to refine this implementation to produce a more meaningful representation.

Refined declaration: string
tasksSource Code
shared {Task*} tasks

List of tasks to execute

Inherited Attributes
Attributes inherited from: Object
hash
Inherited Methods
Methods inherited from: Object
equals