trait SkinnyEnv extends AnyRef
Skinny Env value (key: "skinny.env")
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- SkinnyEnv
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
- val AppEnvKey: String
- val Dev: String
- val Development: String
- val EnvKey: String
- val Prod: String
- val Production: String
- val PropertyAppEnvKey: String
-
val
PropertyKey: String
Key for Skinny framework env value.
- val QA: String
- val Staging: String
- val Test: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(): Option[String]
Env value from system property (you can pass by JVM options or on runtime) or environment value.
Env value from system property (you can pass by JVM options or on runtime) or environment value.
- returns
env string such as "production"
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getOrDevelopment(): String
- def getOrElse(default: String): String
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isDevelopment(env: Option[String] = get()): Boolean
Predicates current env is "development" or "dev".
Predicates current env is "development" or "dev".
- returns
true/false
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isProduction(env: Option[String] = get()): Boolean
Predicates current env is "production" or "prod".
Predicates current env is "production" or "prod".
- returns
true/false
-
def
isStaging(env: Option[String] = get()): Boolean
Predicates current env is "staging" or "qa".
Predicates current env is "staging" or "qa".
- returns
true/false
-
def
isTest(env: Option[String] = get()): Boolean
Predicates current env is "test".
Predicates current env is "test".
- returns
true/false
-
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()
-
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( ... )