/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/debug/ |
H A D | IDebug.java | 46 * @deprecated use {@link DebugLevel} instead. 49 public static final int OFF = DebugLevel.OFF.getLevel(); 52 * @deprecated use {@link DebugLevel} instead. 55 public static final int ERROR = DebugLevel.ERROR.getLevel(); 58 * @deprecated use {@link DebugLevel} instead. 61 public static final int WARNING = DebugLevel.WARNING.getLevel(); 64 * @deprecated use {@link DebugLevel} instead. 67 public static final int MESSAGE = DebugLevel.MESSAGE.getLevel(); 70 * @deprecated use {@link DebugLevel} instead. 73 public static final int ON = DebugLevel [all...] |
H A D | DebugLevel.java | 23 public enum DebugLevel { enum 58 DebugLevel(int level, String name) { method in class:DebugLevel 71 public static DebugLevel fromName(String strName) { 84 public static DebugLevel fromLevel(int strLevel) throws InvalidParameterException { 127 public int compareLevel(DebugLevel o) {
|
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/debug/ |
H A D | IDebug.java | 46 * @deprecated use {@link DebugLevel} instead. 49 public static final int OFF = DebugLevel.OFF.getLevel(); 52 * @deprecated use {@link DebugLevel} instead. 55 public static final int ERROR = DebugLevel.ERROR.getLevel(); 58 * @deprecated use {@link DebugLevel} instead. 61 public static final int WARNING = DebugLevel.WARNING.getLevel(); 64 * @deprecated use {@link DebugLevel} instead. 67 public static final int MESSAGE = DebugLevel.MESSAGE.getLevel(); 70 * @deprecated use {@link DebugLevel} instead. 73 public static final int ON = DebugLevel [all...] |
H A D | DebugLevel.java | 23 public enum DebugLevel { enum 58 DebugLevel(int level, String name) { method in class:DebugLevel 71 public static DebugLevel fromName(String strName) { 84 public static DebugLevel fromLevel(int strLevel) throws InvalidParameterException { 127 public int compareLevel(DebugLevel o) {
|
/forgerock/openam-v13/openam-shared/src/test/java/com/sun/identity/shared/debug/ |
H A D | DebugTest.java | 45 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_LEVEL, DebugLevel.ERROR.getName()); 54 Assert.assertEquals(debug.getState(), DebugLevel.ERROR.getLevel(), "Debug level state"); 57 debug.setDebug(DebugLevel.MESSAGE.getLevel()); 61 Assert.assertEquals(debug.getState(), DebugLevel.MESSAGE.getLevel(), "Debug level state"); 93 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_LEVEL, DebugLevel.ERROR.getName()); 98 Assert.assertEquals(debug.getState(), DebugLevel.ERROR.getLevel(), "Debug level state");
|
H A D | DebugTestTemplate.java | 40 protected static final String DEFAULT_DEBUG_LEVEL = DebugLevel.MESSAGE.getName();
|
/forgerock/openam/openam-shared/src/test/java/com/sun/identity/shared/debug/ |
H A D | DebugTest.java | 45 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_LEVEL, DebugLevel.ERROR.getName()); 54 Assert.assertEquals(debug.getState(), DebugLevel.ERROR.getLevel(), "Debug level state"); 57 debug.setDebug(DebugLevel.MESSAGE.getLevel()); 61 Assert.assertEquals(debug.getState(), DebugLevel.MESSAGE.getLevel(), "Debug level state"); 93 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_LEVEL, DebugLevel.ERROR.getName()); 98 Assert.assertEquals(debug.getState(), DebugLevel.ERROR.getLevel(), "Debug level state");
|
H A D | DebugTestTemplate.java | 40 protected static final String DEFAULT_DEBUG_LEVEL = DebugLevel.MESSAGE.getName();
|
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/debug/impl/ |
H A D | DebugImpl.java | 40 import com.sun.identity.shared.debug.DebugLevel; 79 private DebugLevel debugLevel = DebugLevel.ON; 99 setDebug(DebugLevel.ON); 137 setDebug(DebugLevel.fromLevel(level)); 152 setDebug(DebugLevel.fromName(strDebugLevel)); 164 public void setDebug(DebugLevel debugLevel) { 190 return this.debugLevel.compareLevel(DebugLevel.MESSAGE) >= 0; 199 return this.debugLevel.compareLevel(DebugLevel.WARNING) >= 0; 208 return this.debugLevel.compareLevel(DebugLevel [all...] |
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/debug/impl/ |
H A D | DebugImpl.java | 38 import com.sun.identity.shared.debug.DebugLevel; 72 private DebugLevel debugLevel = DebugLevel.ON; 90 setDebug(DebugLevel.ON); 128 setDebug(DebugLevel.fromLevel(level)); 143 setDebug(DebugLevel.fromName(strDebugLevel)); 155 public void setDebug(DebugLevel debugLevel) { 181 return this.debugLevel.compareLevel(DebugLevel.MESSAGE) >= 0; 190 return this.debugLevel.compareLevel(DebugLevel.WARNING) >= 0; 199 return this.debugLevel.compareLevel(DebugLevel [all...] |
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/record/ |
H A D | DefaultDebugRecorderTest.java | 22 import com.sun.identity.shared.debug.DebugLevel; 50 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_LEVEL, DebugLevel.MESSAGE.getName()); 73 debugTest.setDebug(DebugLevel.ERROR.toString()); 142 debugTest.setDebug(DebugLevel.ERROR.toString()); 196 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_LEVEL, DebugLevel.MESSAGE.getName()); 203 debugTest.setDebug(DebugLevel.ERROR.toString()); 250 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_LEVEL, DebugLevel.MESSAGE.getName());
|
H A D | DebugTestTemplate.java | 20 import com.sun.identity.shared.debug.DebugLevel; 42 protected static final String DEFAULT_DEBUG_LEVEL = DebugLevel.MESSAGE.getName();
|
H A D | RecordPropertiesTest.java | 20 import com.sun.identity.shared.debug.DebugLevel; 44 assertEquals(recordProperties.getDebugLevel(), DebugLevel.MESSAGE); 118 assertEquals(recordProperties.getDebugLevel(), DebugLevel.MESSAGE);
|
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/record/ |
H A D | DefaultDebugRecorderTest.java | 40 import com.sun.identity.shared.debug.DebugLevel; 52 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_LEVEL, DebugLevel.MESSAGE.getName()); 75 debugTest.setDebug(DebugLevel.ERROR.toString()); 144 debugTest.setDebug(DebugLevel.ERROR.toString()); 198 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_LEVEL, DebugLevel.MESSAGE.getName()); 205 debugTest.setDebug(DebugLevel.ERROR.toString()); 252 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_LEVEL, DebugLevel.MESSAGE.getName());
|
H A D | DebugTestTemplate.java | 20 import com.sun.identity.shared.debug.DebugLevel; 42 protected static final String DEFAULT_DEBUG_LEVEL = DebugLevel.MESSAGE.getName();
|
H A D | RecordPropertiesTest.java | 20 import com.sun.identity.shared.debug.DebugLevel; 44 assertEquals(recordProperties.getDebugLevel(), DebugLevel.MESSAGE); 118 assertEquals(recordProperties.getDebugLevel(), DebugLevel.MESSAGE);
|
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/record/ |
H A D | RecordProperties.java | 23 import com.sun.identity.shared.debug.DebugLevel; 61 private DebugLevel debugLevel; 183 .asEnum(DebugLevel.class); 436 public DebugLevel getDebugLevel() {
|
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/record/ |
H A D | RecordProperties.java | 25 import com.sun.identity.shared.debug.DebugLevel; 64 private DebugLevel debugLevel; 186 .as(enumConstant(DebugLevel.class)); 439 public DebugLevel getDebugLevel() {
|