MCPcopy Create free account
hub / github.com/annmuor/jnode / isEnabled

Method isEnabled

jnode-core/src/jnode/robot/ScriptFix.java:150–163  ·  view source on GitHub ↗
(Link link)

Source from the content-addressed store, hash-verified

148 }
149
150 @Override
151 protected boolean isEnabled(Link link) {
152 if (logger.isNeedLog5()){
153 if (link == null){
154 logger.l5("AHTUNG! NULL link!");
155 } else {
156 logger.l5(MessageFormat.format("isEnabled - for link {0} scriptfix activity is {1}", link, FtnTools.getOptionBooleanDefFalse(link,
157 LinkOption.BOOLEAN_SCRIPTFIX)));
158 }
159 }
160 return link != null
161 && FtnTools.getOptionBooleanDefFalse(link,
162 LinkOption.BOOLEAN_SCRIPTFIX);
163 }
164
165 @Override
166 protected String getPasswordOption() {

Callers

nothing calls this directly

Calls 4

isNeedLog5Method · 0.80
l5Method · 0.80
formatMethod · 0.80

Tested by

no test coverage detected