@Override
  public ModuleState getModuleState() {
    return moduleState;
  }
Module state.
Initial state is INIT.
When resolve is called state is set to VISITED.
When resolve completes, state is set to RESOLVED.

@return the module's state
ambari-server/src/main/java/org/apache/ambari/server/stack/BaseModule.java