Interface ScriptProperties


public interface ScriptProperties
Provides access to named script properties, potentially involving cryptographic operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String name_p)
    Retrieves the value of the property with the given name.
    boolean
    has(String name_p)
    Checks whether a property with the given name exists.
  • Method Details

    • get

      String get(String name_p) throws cx.syndeo.exceptions.CryptoException
      Retrieves the value of the property with the given name. Implementations may perform decryption or other cryptographic work depending on whether the property has been marked as sensitive.
      Parameters:
      name_p - the name of the property to retrieve
      Returns:
      the property value
      Throws:
      cx.syndeo.exceptions.CryptoException - There was an error decrypting a secret property
    • has

      boolean has(String name_p)
      Checks whether a property with the given name exists.
      Parameters:
      name_p - the name of the property to check
      Returns:
      true if the property is present, false otherwise