@Test public void testResolve() { assertNull(ExternalResolver.resolve(null)); assertNull(ExternalResolver.resolve(null, null)); assertNotEquals("%env{PATH}", ExternalResolver.resolve("%env{PATH}")); assertNotEquals("%sysprop{java.version}", ExternalResolver.resolve("%sysprop{java.version}")); assertNotEquals("%sysprop{java.version}", ExternalResolver.resolve("%sysprop{java.version}", null)); assertEquals("hello", ExternalResolver.resolve("hello")); assertEquals("NOT_A_ENVVAR", ExternalResolver.resolve("%env{NOT_A_ENVVAR}")); }
public static String resolve(String lookupValue) { if (null == lookupValue) { return null; } return IMPL.tryResolve(lookupValue); }
ExternalResolver { public static String resolve(String lookupValue) { if (null == lookupValue) { return null; } return IMPL.tryResolve(lookupValue); } }
ExternalResolver { public static String resolve(String lookupValue) { if (null == lookupValue) { return null; } return IMPL.tryResolve(lookupValue); } private  ExternalResolver(); }
ExternalResolver { public static String resolve(String lookupValue) { if (null == lookupValue) { return null; } return IMPL.tryResolve(lookupValue); } private  ExternalResolver(); static String resolve(String lookupValue); static String resolve(String value, InterlokMessage target); }
ExternalResolver { public static String resolve(String lookupValue) { if (null == lookupValue) { return null; } return IMPL.tryResolve(lookupValue); } private  ExternalResolver(); static String resolve(String lookupValue); static String resolve(String value, InterlokMessage target);  }