@Override public boolean isDeprecated() { return wrappedInvoker.isDeprecated(); } }
public boolean isDeprecated() { return wrappedInvoker.isDeprecated(); }
@Override public void addSteps(List<StepInvoker> l) { List<CataloguedStep> c = l.stream() .map( si -> new CataloguedStep(si.getCategory(), si.isDeprecated(), si.getStepPattern().toString())) .collect(Collectors.toList()); c.forEach(this::addToCatalogue); }
@Override public void addExecutedStep(StepInvoker foundStepInvoker, long executionTime, boolean passed) { CataloguedStep cataloguedStep = new CataloguedStep( foundStepInvoker.getCategory(), foundStepInvoker.isDeprecated(), foundStepInvoker.getStepPattern().toString(), 1, executionTime, executionTime, passed ? 1 : 0, passed ? 0 : 1 ); addToCatalogue(cataloguedStep); }
/** * a map of properties representing a step invoker exported over the network using RMI protocol, * or null if the step invoker cannot be converted for remoting */ public JmxInvokerResult(StepInvoker i) { put(API_VERSION, ApiVersion.API_VERSION); put(STEP_ID, i.getId()); put(PENDING_MSG, i.getPendingMessage()); put(IS_PENDING, i.isPending()); put(PATTERN, i.getStepPattern().toString()); put(TECHNICAL_DESCRIPTION, i.getTechnicalDescription()); put(RETRY_DURATION, i.getRetry().getDuration()); put(RETRY_INTERVAL, i.getRetry().getInterval()); put(IS_DEPRECATED, i.isDeprecated()); }