Package bm.machine
Interface Target
- All Superinterfaces:
StateProvider
- All Known Implementing Classes:
FileTarget,FixedStateTarget,StringTarget
Describes a target to be built.
-
Method Summary
Methods inherited from interface bm.machine.StateProvider
addState
-
Method Details
-
getName
String getName()The name of the target, unique within the graph of targets. It is used as the key for keeping a persistent state of the target in aStateStore. Some state stores have restrictions on characters which cannot be used.Note: using a non unique name can only be detected during the build and only if both targets of the same name are traversed.
- Returns:
- the name
-
getDependencies
Return the list of targets this one depends on when being build. This should list all targets whose change should trigger a rebuild of this target.- Returns:
- the dependencies of this target
-
recreate
Recreate this target.- Throws:
BuildProblemException- as needed
-