A C D E F G H I J L N O P R S T U V W

A

Action - interface com.werken.werkz.Action.
Interface for goal-satisfying actions.
AttainGoalTag - class com.werken.werkz.jelly.AttainGoalTag.
Attains one or more goals.
AttainGoalTag() - Constructor for class com.werken.werkz.jelly.AttainGoalTag
Construct.
AttainTag - class com.werken.werkz.jelly.AttainTag.
Attains one or more goals.
AttainTag() - Constructor for class com.werken.werkz.jelly.AttainTag
 
action - Variable in class com.werken.werkz.Goal
Action to perform.
addGoal(Goal) - Method in class com.werken.werkz.WerkzProject
Add a Goal to this manager.
addInternalPostcursor(Goal) - Method in class com.werken.werkz.Goal
Adds a postcursor Goal without looping back to the postcursor.addPrecursor and entering an infinite loop.
addPostActionCallback(PostActionCallback) - Method in class com.werken.werkz.Goal
Add a post-action callback to this Goal.
addPostGoalCallback(PostGoalCallback) - Method in class com.werken.werkz.Goal
Add a post-goal callback to this Goal.
addPostcursor(Goal) - Method in class com.werken.werkz.Goal
Add a postcursor Goal to this Goal.
addPreActionCallback(PreActionCallback) - Method in class com.werken.werkz.Goal
Add a pre-action callback to this Goal.
addPreGoalCallback(PreGoalCallback) - Method in class com.werken.werkz.Goal
Add a pre-goal callback to this Goal.
addPrecursor(Goal) - Method in class com.werken.werkz.Goal
Add a precursor Goal to this Goal.
addPrereqs(Goal) - Method in class com.werken.werkz.jelly.GoalTag
 
addSatisfiedGoal(Goal) - Method in class com.werken.werkz.Session
Add a satisfied Goal to this context.
attain(Session) - Method in class com.werken.werkz.Goal
Attempt to attain this Goal.
attainGoal(String, Session) - Method in class com.werken.werkz.WerkzProject
Attempt to attain the specified goal.
attainGoal(String) - Method in class com.werken.werkz.WerkzProject
Attempt to attain the specified goal.
attainPrecursors(Session) - Method in class com.werken.werkz.Goal
Attempt to attain this Goal's precursor Goals.

C

Callback - class com.werken.werkz.Callback.
Convenience class providing no-op implementations of all four callbacks.
Callback() - Constructor for class com.werken.werkz.Callback
Construct.
CallbackTagSupport - class com.werken.werkz.jelly.CallbackTagSupport.
Abstract base class for all callback tags.
CallbackTagSupport() - Constructor for class com.werken.werkz.jelly.CallbackTagSupport
 
CyclicGoalChainException - exception com.werken.werkz.CyclicGoalChainException.
Indicates a dependency cycle within the Goal graph.
CyclicGoalChainException(Goal) - Constructor for class com.werken.werkz.CyclicGoalChainException
Constrct with an initiating goal.
checkForCycles() - Method in class com.werken.werkz.Goal
Perform a cyclic dependency check.
checkForCycles(Goal, Set) - Method in class com.werken.werkz.Goal
Perform a cyclic dependency check.
clear() - Method in class com.werken.werkz.Session
Clear and reset this Session so that no Goals are considered satisfied.
com.werken.werkz - package com.werken.werkz
The werkz goal-oriented process framework.
com.werken.werkz.jelly - package com.werken.werkz.jelly
 
createMap() - Method in class com.werken.werkz.jelly.UseGoalsTag
Factory method to create a new sorted map

D

DefaultAction - class com.werken.werkz.DefaultAction.
Abstract convenience Action implementation.
DefaultAction() - Constructor for class com.werken.werkz.DefaultAction
Construct.
defaultGoalName - Variable in class com.werken.werkz.WerkzProject
Name of the default gual, or null.
defaultGoalName - Variable in class com.werken.werkz.jelly.ProjectTag
 
description - Variable in class com.werken.werkz.Goal
Description of the goal (for auto-documenting).
description - Variable in class com.werken.werkz.jelly.GoalTag
 
doTag(XMLOutput) - Method in class com.werken.werkz.jelly.AttainGoalTag
Evaluate the body to register all the various goals and pre/post conditions then run all the current targets
doTag(XMLOutput) - Method in class com.werken.werkz.jelly.AttainTag
Evaluate the body to register all the various goals and pre/post conditions then run all the current targets
doTag(XMLOutput) - Method in class com.werken.werkz.jelly.GoalTag
Evaluate the body to register all the various goals and pre/post conditions then run all the current targets
doTag(XMLOutput) - Method in class com.werken.werkz.jelly.PostActionTag
Evaluate the body to register all the various goals and pre/post conditions then run all the current targets
doTag(XMLOutput) - Method in class com.werken.werkz.jelly.PostGoalTag
Evaluate the body to register all the various goals and pre/post conditions then run all the current targets
doTag(XMLOutput) - Method in class com.werken.werkz.jelly.PreActionTag
Evaluate the body to register all the various goals and pre/post conditions then run all the current targets
doTag(XMLOutput) - Method in class com.werken.werkz.jelly.PreGoalTag
Evaluate the body to register all the various goals and pre/post conditions then run all the current targets
doTag(XMLOutput) - Method in class com.werken.werkz.jelly.ProjectTag
Evaluate the body to register all the various goals and pre/post conditions then run all the current targets
doTag(XMLOutput) - Method in class com.werken.werkz.jelly.UseGoalsTag
Evaluate the body to register all the various goals and pre/post conditions then run all the current targets

E

EMPTY_ARRAY - Static variable in class com.werken.werkz.Goal
Empty Goal array.
equals(Object) - Method in class com.werken.werkz.Goal
Determine if two Goal objects are equivelant.
error(String) - Method in class com.werken.werkz.Session
Log an error message.
error(String) - Method in class com.werken.werkz.jelly.JellySession
 

F

fire(Session) - Method in class com.werken.werkz.Goal
Fires pre-goal callbacks, the Goal's action, if need be, and the post-goal callbacks.
firePostAction(Goal) - Method in class com.werken.werkz.Callback
No-op post-action callback implementation.
firePostAction(Goal) - Method in interface com.werken.werkz.PostActionCallback
Fire the callback.
firePostActionCallbacks() - Method in class com.werken.werkz.Goal
Fire the post-action callbacks.
firePostGoal(Goal) - Method in class com.werken.werkz.Callback
No-op post-goal callback implementation.
firePostGoal(Goal) - Method in interface com.werken.werkz.PostGoalCallback
Fire the callback.
firePostGoalCallbacks() - Method in class com.werken.werkz.Goal
Fire the post-goal callbacks.
firePreAction(Goal) - Method in class com.werken.werkz.Callback
No-op pre-action callback implementation.
firePreAction(Goal) - Method in interface com.werken.werkz.PreActionCallback
Fire the callback.
firePreActionCallbacks() - Method in class com.werken.werkz.Goal
Fire the pre-action callbacks.
firePreGoal(Goal) - Method in class com.werken.werkz.Callback
No-op pre-goal callback implementation.
firePreGoal(Goal) - Method in interface com.werken.werkz.PreGoalCallback
Fire the callback.
firePreGoalCallbacks() - Method in class com.werken.werkz.Goal
Fire the pre-goal callbacks.

G

Goal - class com.werken.werkz.Goal.
Abstract Goal to attain.
Goal(String) - Constructor for class com.werken.werkz.Goal
Construct a new Goal with the specified name.
Goal(String, Action) - Constructor for class com.werken.werkz.Goal
Construct a new Goal with the specified name and Action.
GoalTag - class com.werken.werkz.jelly.GoalTag.
Implements a <target> tag which is similar to the Ant equivalent tag but is based on the Werkz goal engine.
GoalTag() - Constructor for class com.werken.werkz.jelly.GoalTag
 
getAction() - Method in class com.werken.werkz.Goal
Retrieve the Action of this Goal.
getAction() - Method in class com.werken.werkz.jelly.GoalTag
Subclasses can override this template method to provide a custom Action implementation.
getDefaultGoal() - Method in class com.werken.werkz.WerkzProject
Retrieve the default goal.
getDefaultGoalName() - Method in class com.werken.werkz.WerkzProject
Retrieve the default goal name.
getDescription() - Method in class com.werken.werkz.Goal
Retrieve the description of this Goal.
getExecutionChain(String) - Method in class com.werken.werkz.WerkzProject
Retrieve a valid execution chain to attain the specified goal.
getGoal() - Method in class com.werken.werkz.NoActionDefinitionException
Retrieve the goal.
getGoal(String) - Method in class com.werken.werkz.WerkzProject
Retrieve a Goal by name from this manager.
getGoal(String, boolean) - Method in class com.werken.werkz.WerkzProject
Retrieve a Goal by name from this manager.
getGoal(String) - Method in class com.werken.werkz.jelly.WerkzTagSupport
 
getGoalName() - Method in class com.werken.werkz.NoSuchGoalException
Retrieve the unknown goal name.
getGoalName() - Method in class com.werken.werkz.UnattainableGoalException
Retrieve the name of the goal in which the error occurred.
getGoals() - Method in class com.werken.werkz.WerkzProject
Retrieve an unmodifiable collection of all Goals that are a part of this Project.
getInitialGoal() - Method in class com.werken.werkz.CyclicGoalChainException
Retrieve the Goal which initiated the dependency cycle check.
getMessage() - Method in class com.werken.werkz.CyclicGoalChainException
 
getMessage() - Method in class com.werken.werkz.NoActionDefinitionException
Retrieve the error message.
getMessage() - Method in class com.werken.werkz.NoSuchGoalException
Retrieve the error message.
getMessage() - Method in class com.werken.werkz.UnattainableGoalException
 
getName() - Method in class com.werken.werkz.Goal
Retrieve the name of this Goal.
getName() - Method in class com.werken.werkz.jelly.AttainGoalTag
 
getName() - Method in class com.werken.werkz.jelly.CallbackTagSupport
 
getName() - Method in class com.werken.werkz.jelly.GoalTag
 
getPostActionCallbacks() - Method in class com.werken.werkz.Goal
Retrieve an unmodifiable list of the post-action callbacks.
getPostGoalCallbacks() - Method in class com.werken.werkz.Goal
Retrieve an unmodifiable list of the post-goal callbacks.
getPostcursors() - Method in class com.werken.werkz.Goal
Retrive an unmodifiable List of this Goal's postcursor Goals.
getPreActionCallbacks() - Method in class com.werken.werkz.Goal
Retrieve an unmodifiable list of the pre-action callbacks.
getPreGoalCallbacks() - Method in class com.werken.werkz.Goal
Retrieve an unmodifiable list of the pre-goal callbacks.
getPrecursors() - Method in class com.werken.werkz.Goal
Retrieve an unmodifiable List of this Goal's precursor Goals.
getPrereqs() - Method in class com.werken.werkz.jelly.GoalTag
 
getProject() - Method in class com.werken.werkz.jelly.ProjectTag
 
getProject() - Method in class com.werken.werkz.jelly.WerkzTagSupport
 
getRootCause() - Method in class com.werken.werkz.UnattainableGoalException
Retrieve the root cause of the error.
getSession() - Method in class com.werken.werkz.jelly.AttainGoalTag
Retrieve the Session to use, if set.
getSession() - Method in class com.werken.werkz.jelly.AttainTag
 
goal - Variable in class com.werken.werkz.NoActionDefinitionException
The goal.
goalName - Variable in class com.werken.werkz.NoSuchGoalException
Name of the unknown goal.
goalName - Variable in class com.werken.werkz.UnattainableGoalException
Name of goal in which an error occurred.
goals - Variable in class com.werken.werkz.WerkzProject
Goal index.

H

hashCode() - Method in class com.werken.werkz.Goal
Retrieve the hash-code of this object.

I

info(String) - Method in class com.werken.werkz.Session
Log an informative message.
info(String) - Method in class com.werken.werkz.jelly.JellySession
 
initialGoal - Variable in class com.werken.werkz.CyclicGoalChainException
The initial goal from which the cycle-check was initiated.
isGoalSatisfied(Goal) - Method in class com.werken.werkz.Session
Test a Goal to determine if it has been satisfied within this context.
isSatisfied(Session) - Method in class com.werken.werkz.Goal
Determine if this Goal has been satisfied for the specified Session.

J

JellySession - class com.werken.werkz.jelly.JellySession.
 
JellySession(XMLOutput) - Constructor for class com.werken.werkz.jelly.JellySession
 

L

log - Variable in class com.werken.werkz.Goal
Log.
log - Variable in class com.werken.werkz.jelly.AttainTag
The Log to which logging calls will be made.
log - Variable in class com.werken.werkz.jelly.CallbackTagSupport
The Log to which logging calls will be made.
log - Variable in class com.werken.werkz.jelly.GoalTag
The Log to which logging calls will be made.
log - Variable in class com.werken.werkz.jelly.UseGoalsTag
The Log to which logging calls will be made.
log - Variable in class com.werken.werkz.jelly.WerkzTagLibrary
The Log to which logging calls will be made.

N

NoActionDefinitionException - exception com.werken.werkz.NoActionDefinitionException.
Indicates an attempt to attain a goal with no action definition.
NoActionDefinitionException(Goal) - Constructor for class com.werken.werkz.NoActionDefinitionException
Construct.
NoSuchGoalException - exception com.werken.werkz.NoSuchGoalException.
Indicates a request to attain an unknown Goal.
NoSuchGoalException(String) - Constructor for class com.werken.werkz.NoSuchGoalException
Construct with the name of the unknown goal.
name - Variable in class com.werken.werkz.Goal
Unique name.
name - Variable in class com.werken.werkz.jelly.AttainGoalTag
The goal name.
name - Variable in class com.werken.werkz.jelly.CallbackTagSupport
the name of the target
name - Variable in class com.werken.werkz.jelly.GoalTag
the name of the target

O

out - Variable in class com.werken.werkz.jelly.JellySession
 

P

PostActionCallback - interface com.werken.werkz.PostActionCallback.
Interface for callbacks that occur after a Goal's action has been executed.
PostActionTag - class com.werken.werkz.jelly.PostActionTag.
Implements a <postAction> tag which provides a callback which is evaluated after an action.
PostActionTag() - Constructor for class com.werken.werkz.jelly.PostActionTag
 
PostGoalCallback - interface com.werken.werkz.PostGoalCallback.
Interface for callbacks that occur after a Goal has been completely satisfied.
PostGoalTag - class com.werken.werkz.jelly.PostGoalTag.
Implements a <postGoal> tag which provides a callback which is evaluated after a goal has executed.
PostGoalTag() - Constructor for class com.werken.werkz.jelly.PostGoalTag
 
PreActionCallback - interface com.werken.werkz.PreActionCallback.
Interface for callbacks that occur before a Goal's action has been executed.
PreActionTag - class com.werken.werkz.jelly.PreActionTag.
Implements a <preAction> tag which provides a callback which is evaluated before an action.
PreActionTag() - Constructor for class com.werken.werkz.jelly.PreActionTag
 
PreGoalCallback - interface com.werken.werkz.PreGoalCallback.
Interface for callbacks that occur after a Goal's prerequisites have been met, but before any Goal-specific actions have been taken.
PreGoalTag - class com.werken.werkz.jelly.PreGoalTag.
Implements a <preGoal> tag which provides a callback which is evaluated before a goal.
PreGoalTag() - Constructor for class com.werken.werkz.jelly.PreGoalTag
 
ProjectTag - class com.werken.werkz.jelly.ProjectTag.
The root tag of a Project definition.
ProjectTag() - Constructor for class com.werken.werkz.jelly.ProjectTag
 
percolate(Session) - Method in class com.werken.werkz.Goal
Attempt to percolate this Goal through to its Postcursors.
percolateGoal(String, Session) - Method in class com.werken.werkz.WerkzProject
Attempt to percolate the specified goal.
percolateGoal(String) - Method in class com.werken.werkz.WerkzProject
Attempt to percolate the specified goal.
percolatePostcursors(Session) - Method in class com.werken.werkz.Goal
Attempt to attain this Goal's postcursor Goals.
performAction() - Method in interface com.werken.werkz.Action
Perform the action required to satisfy the Goal.
postActionCallbacks - Variable in class com.werken.werkz.Goal
Post-action callbacks.
postGoalCallbacks - Variable in class com.werken.werkz.Goal
Post-goal callbacks.
postcursors - Variable in class com.werken.werkz.Goal
Ordered list of postcursor Goals.
preActionCallbacks - Variable in class com.werken.werkz.Goal
Pre-action callbacks.
preGoalCallbacks - Variable in class com.werken.werkz.Goal
Pre-goal callbacks.
precursors - Variable in class com.werken.werkz.Goal
Ordered list of precursor Goals.
prereqs - Variable in class com.werken.werkz.jelly.GoalTag
 
printStackTrace() - Method in class com.werken.werkz.UnattainableGoalException
Print the stack-trace of this exception.
project - Variable in class com.werken.werkz.jelly.ProjectTag
the project

R

removePostActionCallback(PostActionCallback) - Method in class com.werken.werkz.Goal
Remove all occurences of a post-action callback from this Goal.
removePostGoalCallback(PostGoalCallback) - Method in class com.werken.werkz.Goal
Remove all occurences of a post-goal callback from this Goal.
removePreActionCallback(PreActionCallback) - Method in class com.werken.werkz.Goal
Remove all occurences of a pre-action callback from this Goal.
removePreGoalCallback(PreGoalCallback) - Method in class com.werken.werkz.Goal
Remove all occurences of a pre-goal callback from this Goal.
removeSatisfiedGoal(Goal) - Method in class com.werken.werkz.Session
Remove a satisfied Goal from this context.
requiresAction() - Method in interface com.werken.werkz.Action
Determine if this Action's Action.performAction() method should be invoked.
requiresAction() - Method in class com.werken.werkz.DefaultAction
Determine if this Action requies actual effort.
rootCause - Variable in class com.werken.werkz.UnattainableGoalException
Root exception.

S

Session - class com.werken.werkz.Session.
Goal satisfaction state.
Session() - Constructor for class com.werken.werkz.Session
Construct.
satisfiedGoals - Variable in class com.werken.werkz.Session
Set of Goals satisfied within this context.
session - Variable in class com.werken.werkz.jelly.AttainGoalTag
The session.
session - Variable in class com.werken.werkz.jelly.AttainTag
The goal session.
setAction(Action) - Method in class com.werken.werkz.Goal
Set the Action of this Goal.
setDefault(String) - Method in class com.werken.werkz.jelly.ProjectTag
 
setDefaultGoalName(String) - Method in class com.werken.werkz.WerkzProject
Set the default goal name.
setDescription(String) - Method in class com.werken.werkz.Goal
Set the description for this Goal.
setDescription(String) - Method in class com.werken.werkz.jelly.GoalTag
 
setName(String) - Method in class com.werken.werkz.jelly.AttainGoalTag
 
setName(String) - Method in class com.werken.werkz.jelly.CallbackTagSupport
Sets the name of the target
setName(String) - Method in class com.werken.werkz.jelly.GoalTag
Sets the name of the target
setPrereqs(String) - Method in class com.werken.werkz.jelly.GoalTag
 
setSession(Session) - Method in class com.werken.werkz.jelly.AttainGoalTag
Set the Session to use.
setVar(String) - Method in class com.werken.werkz.jelly.UseGoalsTag
Sets the variable for which the Map of Map of goals will be exported

T

toString() - Method in class com.werken.werkz.Goal
Produce a textual representation suitable for debugging.
toString() - Method in class com.werken.werkz.WerkzProject
Produce a textual representation suitable for debugging.

U

UnattainableGoalException - exception com.werken.werkz.UnattainableGoalException.
Indicates an error while attempting to satisfy a Goal.
UnattainableGoalException(String, Throwable) - Constructor for class com.werken.werkz.UnattainableGoalException
Construct with a goal name and root cause.
UseGoalsTag - class com.werken.werkz.jelly.UseGoalsTag.
This tag outputs a sorted Map of Maps all of the goals, indexed by their prefix and their goal name.
UseGoalsTag() - Constructor for class com.werken.werkz.jelly.UseGoalsTag
 

V

var - Variable in class com.werken.werkz.jelly.UseGoalsTag
the name of the variable to export

W

WerkzException - exception com.werken.werkz.WerkzException.
Base werkz exception.
WerkzException() - Constructor for class com.werken.werkz.WerkzException
 
WerkzProject - class com.werken.werkz.WerkzProject.
General Goal manager.
WerkzProject() - Constructor for class com.werken.werkz.WerkzProject
Construct.
WerkzTagLibrary - class com.werken.werkz.jelly.WerkzTagLibrary.
Implements a bunch of tags that are useful for working with Werkz.
WerkzTagLibrary() - Constructor for class com.werken.werkz.jelly.WerkzTagLibrary
 
WerkzTagSupport - class com.werken.werkz.jelly.WerkzTagSupport.
The abstract base class for Werkz child tags
WerkzTagSupport(boolean) - Constructor for class com.werken.werkz.jelly.WerkzTagSupport
 
WerkzTagSupport() - Constructor for class com.werken.werkz.jelly.WerkzTagSupport
 
warn(String) - Method in class com.werken.werkz.Session
Log a warning message.
warn(String) - Method in class com.werken.werkz.jelly.JellySession
 

A C D E F G H I J L N O P R S T U V W