Interface VaultPutInfo


public interface VaultPutInfo
Supplies additional information to put methods such as VaultService.put(String, byte[], VaultPutInfo). Implementations of VaultService may choose to store this information for statistical purposes, but no functionality should depend on it.
  • Method Details

    • getField

      @Nullable default DataField getField()
      The field this vault entry is put for.

      Implementation may not be able to implement this method, but only getFieldString().

    • getFieldString

      @Nullable default String getFieldString()
      The id of the field this vault entry is put for.
      See Also:
    • getItem

      @Nullable default Item getItem()
      The item this vault entry is put for.

      Implementation may not be able to implement this method, but only getItemString().

    • getItemString

      @Nullable default String getItemString()
      The id of the item this vault entry is put for.
      See Also:
    • 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 returns getOriginDefault().
    • getOriginDefault

      static String getOriginDefault()
      Returns the local host name. Is the default implementation of getOrigin().