public class SimpleCommitContext extends java.lang.Object implements CommitContext
NAME| Constructor and Description |
|---|
SimpleCommitContext() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(java.lang.String name)
Returns the value of the named attribute as an
Object,
or null if no attribute of the given name exists. |
void |
remove(java.lang.String name)
Removes an attribute from this commit.
|
void |
set(java.lang.String name,
java.lang.Object value)
Stores an attribute related to this commit.
|
java.lang.String |
toString() |
public java.lang.String toString()
toString in class java.lang.Objectpublic void set(java.lang.String name,
java.lang.Object value)
CommitContextIf the object passed in is null, the effect is the same as
calling CommitContext.remove(java.lang.String).
set in interface CommitContextname - a String specifying the name of the attributevalue - the Object to be storedpublic java.lang.Object get(java.lang.String name)
CommitContextObject,
or null if no attribute of the given name exists.get in interface CommitContextname - String specifying the name of
the attributeObject containing the value
of the attribute, or null if the attribute does not existpublic void remove(java.lang.String name)
CommitContextremove in interface CommitContextname - a String specifying
the name of the attribute to removeCopyright © 2010 - 2023 Adobe. All Rights Reserved