Attributes
- Companion
- trait
- Source
- BooleanProp.scala
- Graph
-
- Supertypes
- Self type
-
BooleanProp.type
Members list
Value members
Concrete methods
A constant true or false property which ignores all method calls.
A constant true or false property which ignores all method calls.
Value parameters
- isOn
-
whether the constant property is true or false
- key
-
the name of the system property
Attributes
- Source
- BooleanProp.scala
As an alternative, this method creates a BooleanProp which is true if the key exists in the map and is not assigned a value other than "true", compared case-insensitively, or the empty string. This way -Dmy.property results in a true-valued property, but -Dmy.property=false does not.
As an alternative, this method creates a BooleanProp which is true if the key exists in the map and is not assigned a value other than "true", compared case-insensitively, or the empty string. This way -Dmy.property results in a true-valued property, but -Dmy.property=false does not.
Type parameters
- T
-
unused type parameter, retained for API compatibility
Value parameters
- key
-
the name of the system property to look up
Attributes
- Returns
-
A BooleanProp with a liberal truth policy
- Source
- BooleanProp.scala
The java definition of property truth is that the key be in the map and the value be equal to the String "true", case insensitively. This method creates a BooleanProp instance which adheres to that definition.
The java definition of property truth is that the key be in the map and the value be equal to the String "true", case insensitively. This method creates a BooleanProp instance which adheres to that definition.
Type parameters
- T
-
unused type parameter, retained for API compatibility
Value parameters
- key
-
the name of the system property to look up
Attributes
- Returns
-
A BooleanProp which acts like java's Boolean.getBoolean
- Source
- BooleanProp.scala
Implicits
Implicits
Attributes
- Source
- BooleanProp.scala