class Profig extends ProfigPath
- Alphabetic
- By Inheritance
- Profig
- ProfigPath
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Profig(parent: Option[Profig] = Some(Profig))
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(): Json
Returns a Json representation of this path.
Returns a Json representation of this path. Works similar to
get()
, except will return an empty Json object if there is nothing at this level.- returns
Json
- Definition Classes
- ProfigPath
-
def
apply(path: String*): ProfigPath
Look up a deeper path below the current path.
-
macro
def
as[T]: T
Loads this path out as the defined type
T
.Loads this path out as the defined type
T
.- T
the type to represent the current path
- returns
T
- Definition Classes
- ProfigPath
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def child(): Profig
- def clear(): Unit
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
combine(json: Json, defaults: Boolean): Unit
Combines a Json instance at this path.
Combines a Json instance at this path.
- Definition Classes
- ProfigPath
-
def
combine(properties: Properties, defaults: Boolean): Unit
Combines a properties object at this path.
Combines a properties object at this path.
- Definition Classes
- ProfigPath
-
def
combine(args: Seq[String], defaults: Boolean): Unit
Combines a sequence of args at this path.
Combines a sequence of args at this path.
- Definition Classes
- ProfigPath
-
def
combine(string: String, type: FileType, defaults: Boolean): Unit
Combines a string of content auto-detected to JSON.
Combines a string of content auto-detected to JSON.
- Definition Classes
- ProfigPath
-
def
defaults(properties: Properties): Unit
Loads defaults from this Properties object at this path.
Loads defaults from this Properties object at this path.
- Definition Classes
- ProfigPath
-
def
defaults(json: Json): Unit
Loads defaults from this Json object at this path.
Loads defaults from this Json object at this path.
- Definition Classes
- ProfigPath
-
def
defaults(string: String, type: FileType): Unit
Loads defaults for a string of the specified type.
Loads defaults for a string of the specified type.
- Definition Classes
- ProfigPath
-
def
defaults(args: Seq[String]): Unit
Loads defaults for a sequence of args.
Loads defaults for a sequence of args. This is primarily useful for loading command-line arguments.
- Definition Classes
- ProfigPath
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
exists(): Boolean
True if this path exists in the config
True if this path exists in the config
- Definition Classes
- ProfigPath
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(): Option[Json]
Returns a Json representation of this path if there is anything defined at this level.
Returns a Json representation of this path if there is anything defined at this level.
- returns
Option[Json]
- Definition Classes
- ProfigPath
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
instance: Profig
- Definition Classes
- Profig → ProfigPath
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def json: Json
- def lastModified: Long
- macro def load(entries: ProfigLookupPath*): Unit
- macro def loadDefaults(): Unit
- def loadEnvironmentVariables(asDefault: Boolean = true): Unit
- def loadProperties(asDefault: Boolean = true): Unit
-
def
merge(properties: Properties): Unit
Merges a Properties object to this path.
Merges a Properties object to this path.
- Definition Classes
- ProfigPath
-
def
merge(json: Json): Unit
Merges a Json object to this path.
Merges a Json object to this path.
- Definition Classes
- ProfigPath
-
def
merge(string: String, type: FileType): Unit
Merges a string of content from the specified type.
Merges a string of content from the specified type.
- Definition Classes
- ProfigPath
-
def
merge(args: Seq[String]): Unit
Merges a sequence of args.
Merges a sequence of args. This is primarily useful for merging command-line arguments.
- Definition Classes
- ProfigPath
-
def
modify(f: (Json) ⇒ Json): Unit
- Attributes
- protected[profig]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val parent: Option[Profig]
-
def
path: List[String]
- Definition Classes
- Profig → ProfigPath
-
def
remove(): Unit
- Definition Classes
- Profig → ProfigPath
-
def
remove(field: String): Unit
Removes a field from this path.
Removes a field from this path.
- field
the field below this path to remove
- Definition Classes
- ProfigPath
-
macro
def
store[T](value: T): Unit
Stores the supplied value into this path.
Stores the supplied value into this path.
- T
the type of value
- value
the value to store
- Definition Classes
- ProfigPath
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )