Interface ICustomProperty

All Superinterfaces:
IPropertyBase

@Deprecated(since="9.2", forRemoval=true) public interface ICustomProperty extends IPropertyBase
Deprecated, for removal: This API element is subject to removal in a future version.
use Ivy.var()
API:
This is a public API.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    getBooleanValue(boolean defaultValue)
    Deprecated, for removal: This API element is subject to removal in a future version.
    use Ivy.var()
    int
    getIntValue(int defaultValue)
    Deprecated, for removal: This API element is subject to removal in a future version.
    use Ivy.var()
    long
    getLongValue(long defaultValue)
    Deprecated, for removal: This API element is subject to removal in a future version.
    use Ivy.var()
    getValue(String defaultValue)
    Deprecated, for removal: This API element is subject to removal in a future version.
    use Ivy.var()
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    use Ivy.var()

    Methods inherited from interface ch.ivyteam.ivy.system.IPropertyBase

    getBooleanValue, getIntValue, getLongValue, getName, getValue, setValue, setValue, setValue, setValue
  • Method Details

    • hasValue

      @Deprecated(since="9.2", forRemoval=true) boolean hasValue()
      Deprecated, for removal: This API element is subject to removal in a future version.
      use Ivy.var()
      Returns:
      true if the value of this property has been set
      Throws:
      PersistencyException - if persistency access fails
      API:
      This public API is available in Java.
    • getValue

      @Deprecated(since="9.2", forRemoval=true) String getValue(String defaultValue)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use Ivy.var()
      Parameters:
      defaultValue -
      Returns:
      the value if this property has one, otherwise the given defaultValue
      Throws:
      PersistencyException - if persistency access fails
      API:
      This public API is available in Java.
    • getIntValue

      @Deprecated(since="9.2", forRemoval=true) int getIntValue(int defaultValue)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use Ivy.var()
      Parameters:
      defaultValue -
      Returns:
      the value as int. If there is no value or it is not a valid int the given defaultValue is returned
      Throws:
      PersistencyException - if persistency access fails
      API:
      This public API is available in Java.
    • getLongValue

      @Deprecated(since="9.2", forRemoval=true) long getLongValue(long defaultValue)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use Ivy.var()
      Parameters:
      defaultValue -
      Returns:
      the value as long. If there is no value or it is not a valid long the given defaultValue is returned
      Throws:
      PersistencyException - if persistency access fails
      API:
      This public API is available in Java.
    • getBooleanValue

      @Deprecated(since="9.2", forRemoval=true) boolean getBooleanValue(boolean defaultValue)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use Ivy.var()
      Parameters:
      defaultValue -
      Returns:
      the value as long. If there is no value or it is not a valid long the given defaultValue is returned
      Throws:
      PersistencyException - if persistency access fails
      API:
      This public API is available in Java.