/** * Whether the attribute with the given key is unspecified * * @param key * a {@link java.lang.String} object. * @return true if the key is * {@link org.eclipse.jgit.attributes.Attribute.State#UNSPECIFIED}, * false in all other cases */ public boolean isUnspecified(String key) { return (getState(key) == State.UNSPECIFIED); }
/** * Whether the attribute is set * * @param key * a {@link java.lang.String} object. * @return true if the key is * {@link org.eclipse.jgit.attributes.Attribute.State#SET}, false in * all other cases */ public boolean isSet(String key) { return (getState(key) == State.SET); }
/** * Whether the attribute is unset * * @param key * a {@link java.lang.String} object. * @return true if the key is * {@link org.eclipse.jgit.attributes.Attribute.State#UNSET}, false * in all other cases */ public boolean isUnset(String key) { return (getState(key) == State.UNSET); }
/** * Is this a custom attribute * * @param key * a {@link java.lang.String} object. * @return true if the key is * {@link org.eclipse.jgit.attributes.Attribute.State#CUSTOM}, false * in all other cases see {@link #getValue(String)} for the value of * the key */ public boolean isCustom(String key) { return (getState(key) == State.CUSTOM); }
/** * @param key * @return true if the key is {@link State#SET}, false in all other cases */ public boolean isSet(String key) { return (getState(key) == State.SET); }
/** * @param key * @return true if the key is {@link State#UNSPECIFIED}, false in all other * cases */ public boolean isUnspecified(String key) { return (getState(key) == State.UNSPECIFIED); }
/** * @param key * @return true if the key is {@link State#CUSTOM}, false in all other cases * see {@link #getValue(String)} for the value of the key */ public boolean isCustom(String key) { return (getState(key) == State.CUSTOM); }
/** * Whether the attribute with the given key is unspecified * * @param key * a {@link java.lang.String} object. * @return true if the key is * {@link org.eclipse.jgit.attributes.Attribute.State#UNSPECIFIED}, * false in all other cases */ public boolean isUnspecified(String key) { return (getState(key) == State.UNSPECIFIED); }
/** * @param key * @return true if the key is {@link State#UNSET}, false in all other cases */ public boolean isUnset(String key) { return (getState(key) == State.UNSET); }
/** * Whether the attribute is set * * @param key * a {@link java.lang.String} object. * @return true if the key is * {@link org.eclipse.jgit.attributes.Attribute.State#SET}, false in * all other cases */ public boolean isSet(String key) { return (getState(key) == State.SET); }
/** * Whether the attribute is unset * * @param key * a {@link java.lang.String} object. * @return true if the key is * {@link org.eclipse.jgit.attributes.Attribute.State#UNSET}, false * in all other cases */ public boolean isUnset(String key) { return (getState(key) == State.UNSET); }
/** * Is this a custom attribute * * @param key * a {@link java.lang.String} object. * @return true if the key is * {@link org.eclipse.jgit.attributes.Attribute.State#CUSTOM}, false * in all other cases see {@link #getValue(String)} for the value of * the key */ public boolean isCustom(String key) { return (getState(key) == State.CUSTOM); }