public class TypeSafetyPolicy extends Object
| Constructor and Description |
|---|
TypeSafetyPolicy()
Creates a new instance of a type safety policy with no type safety enabled.
|
TypeSafetyPolicy(TypeSafetyOption option)
Creates a new instance of a type safety policy with the desired type safety option.
|
| Modifier and Type | Method and Description |
|---|---|
TypeSafetyOption |
getTypeSafetyOption()
Gets the currently defined system type safety option.
|
boolean |
isTypeSafetyEnabled()
Indicates if type safety is enabled in the system.
|
public TypeSafetyPolicy(TypeSafetyOption option)
option - the type safety optionpublic TypeSafetyPolicy()
public boolean isTypeSafetyEnabled()
public TypeSafetyOption getTypeSafetyOption()
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.