public interface P4Configure extends P4Connection, P4Errors
ACCESS_ERROR_MESSAGES, CORE_AUTH_FAIL_STRING_1, CORE_AUTH_FAIL_STRING_2, CORE_AUTH_FAIL_STRING_3, CORE_AUTH_FAIL_STRING_4, CORE_AUTH_FAIL_STRING_5, E_EMPTY, E_FAILED, E_FATAL, E_INFO, E_WARN| Modifier and Type | Method and Description |
|---|---|
static P4Configure |
create(P4Connection conn) |
default void |
setDmKeysHide(int level)
Runs "p4 set dm.keys.hide=[level]"
This is used to restrict the usage of Commons counters to admins only.
|
default void |
setSecurity(int level)
Runs "p4 set security=[level]".
|
close, connectAs, create, create, disconnect, getLogin, getOptionsServer, getServerLocation, getServerProperties, setLogincheckError, checkError, getServerMessage, isAuthFail, isNotSeriousErrorButNeedReportstatic P4Configure create(P4Connection conn)
default void setSecurity(int level)
level - An integer in the range [1,5]default void setDmKeysHide(int level)
level - An integer in the range [0, 2]