@Override public boolean isValid() { if (getStateModelDefRef() == null) { LOG.error("Current state does not contain state model ref. id:" + getResourceName()); return false; } if (getSessionId() == null) { LOG.error("CurrentState does not contain session id, id : " + getResourceName()); return false; } return true; }
@Override public boolean isValid() { if (getStateModelDefRef() == null) { LOG.error("Current state does not contain state model ref. id:" + getResourceName()); return false; } if (getSessionId() == null) { LOG.error("CurrentState does not contain session id, id : " + getResourceName()); return false; } return true; }
protected void setupCurrentStates(Map<String, CurrentState> currentStates) { Builder keyBuilder = accessor.keyBuilder(); for (String instanceName : currentStates.keySet()) { accessor.setProperty(keyBuilder .currentState(instanceName, currentStates.get(instanceName).getSessionId(), currentStates.get(instanceName).getResourceName()), currentStates.get(instanceName)); } }
if (!instanceSessionId.equals(currentState.getSessionId())) { continue;
if (!instanceSessionId.equals(currentState.getSessionId())) { continue;