Package com.exedio.cope.vault
Interface VaultPutInfo
-
public interface VaultPutInfo
Supplies additional information to put methods such asVaultService.put(String, byte[], VaultPutInfo)
. Implementations ofVaultService
may choose to store this information for statistical purposes, but no functionality should depend on it.
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default DataField
getField()
Thefield
this vault entry is put for.default String
getFieldString()
default Item
getItem()
Theitem
this vault entry is put for.default String
getItemString()
default String
getOrigin()
A description of the origin of the put request.static String
getOriginDefault()
Returns the local host name.
-
-
-
Method Detail
-
getField
@Nullable default DataField getField()
Thefield
this vault entry is put for.Implementation may not be able to implement this method, but only
getFieldString()
.
-
getFieldString
@Nullable default String getFieldString()
- See Also:
getField()
-
getItem
@Nullable default Item getItem()
Theitem
this vault entry is put for.Implementation may not be able to implement this method, but only
getItemString()
.
-
getOrigin
@Nullable default String getOrigin()
A description of the origin of the put request. Could be the host name or source IP address for instance. The default implementation returnsgetOriginDefault()
.
-
getOriginDefault
static String getOriginDefault()
Returns the local host name. Is the default implementation ofgetOrigin()
.
-
-