Interface ICustomProperty
- All Superinterfaces:
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 TypeMethodDescriptionboolean
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()Deprecated, for removal: This API element is subject to removal in a future version.use Ivy.var()boolean
hasValue()
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, 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, 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, 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 givendefaultValue
is returned - Throws:
PersistencyException
- if persistency access fails- API:
- This public API is available in Java.
-
getLongValue
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 givendefaultValue
is returned - Throws:
PersistencyException
- if persistency access fails- API:
- This public API is available in Java.
-
getBooleanValue
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 givendefaultValue
is returned - Throws:
PersistencyException
- if persistency access fails- API:
- This public API is available in Java.
-