public boolean isReadOnlyEffortDriven(FieldContext fieldContext) {
return ((TaskSnapshot) getCurrentSnapshot()).isReadOnlyEffortDriven(fieldContext);
}
public static Closure forAllAssignments(Closure visitor) {
return new ObjectVisitor(visitor) {
protected Object getObject(Object arg0) {
return ((TaskSnapshot) ((Task) arg0).getCurrentSnapshot())
.getHasAssignments();
}
};