public boolean checkInFailed(ISchedulingRule rule){
  if (checkInFailed.get() != null) {
    checkInFailed.set(null);
    if (!workspace.isTreeLocked())     jobManager.endRule(rule);
    return true;
  }
  return false;
}

public boolean checkInFailed ( ISchedulingRule rule ) { if ( checkInFailed . get ( ) != null ) { checkInFailed . set ( null ) ; if ( ! workspace . isTreeLocked ( ) ) jobManager . endRule ( rule ) ; return true ; } return false ; }
returns true if the check in for this thread failed , in which case the check out and other end of operation code should not run . < p > the failure flag is reset immediately after calling this method . subsequent calls to this method will indicate no failure ( unless a new failure has occurred ) .
