/** * <p> * Retrieve the identified <code>boolean</code> value from the * <code>JobDataMap</code>. * </p> * * @throws ClassCastException * if the identified object is not a String or Boolean. */ public boolean getBooleanValue(String key) { Object obj = get(key); if(obj instanceof String) { return getBooleanValueFromString(key); } else { return getBoolean(key); } }
/** * <p> * Retrieve the identified <code>boolean</code> value from the * <code>JobDataMap</code>. * </p> * * @throws ClassCastException * if the identified object is not a String or Boolean. */ public boolean getBooleanValue(String key) { Object obj = get(key); if(obj instanceof String) { return getBooleanValueFromString(key); } else { return getBoolean(key); } }
/** * <p> * Retrieve the identified <code>boolean</code> value from the * <code>JobDataMap</code>. * </p> * * @throws ClassCastException * if the identified object is not a String or Boolean. */ public boolean getBooleanValue(String key) { Object obj = get(key); if(obj instanceof String) { return getBooleanValueFromString(key); } else { return getBoolean(key); } }
/** * <p> * Retrieve the identified <code>boolean</code> value from the * <code>JobDataMap</code>. * </p> * * @throws ClassCastException * if the identified object is not a String or Boolean. */ public boolean getBooleanValue(String key) { Object obj = get(key); if(obj instanceof String) { return getBooleanValueFromString(key); } else { return getBoolean(key); } }
boolean haltOnFailure = jobDataMap.getBooleanValueFromString(GroupOperationJob.DATAMAP_BOOL_HALT_ON_FAILURE);