Return the state of this environment

@return one of {@link CMAEnvironmentStatus} to indicate the status of the environment.
15573
public CMAEnvironmentStatus getStatus() {
    final CMALink link = system.getEnvironmentalStatus();
    if (link == null) {
      return null;
    }

    final String id = link.getId().toLowerCase();

    for (final CMAEnvironmentStatus status : CMAEnvironmentStatus.values()) {
      final String statusName = status.name().toLowerCase();
      if (statusName.equals(id)) {
        return status;
      }
    }

    return null;
  }
970891
public StatusGroup getStatusGroup()
    {
        StatusGroup ret;
        try {
            ret = Status.get(statusGroupUUID);
        } catch (final CacheReloadException e) {
            LOG.error("Catched CacheReloadException", e);
            ret = null;
        }
        return ret;
    }
46834
public static String getStateStyle(CmsResourceState state) {

        String stateStyle = "";
        if (state != null) {
            if (state.isDeleted()) {
                stateStyle = OpenCmsTheme.STATE_DELETED;
            } else if (state.isNew()) {
                stateStyle = OpenCmsTheme.STATE_NEW;
            } else if (state.isChanged()) {
                stateStyle = OpenCmsTheme.STATE_CHANGED;
            }
        }
        return stateStyle;
    }
1007380
public java.lang.String getState() {
    java.lang.Object ref = state_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      if (bs.isValidUtf8()) {
        state_ = s;
      }
      return s;
    }
  }
746184
public int getSimState() {
		TelephonyManager telMgr = (TelephonyManager) context
				.getSystemService(Context.TELEPHONY_SERVICE);
		final int simState = telMgr.getSimState();
		return simState;
	}
66207
public Object getPersistentState() {
   Map<String, Object> persistentState = new HashMap<String, Object>();
   persistentState.put("processDefinitionId", this.processDefinitionId);
   persistentState.put("businessKey", this.businessKey);
   persistentState.put("activityId", this.activityId);
   persistentState.put("isActive", this.isActive);
   persistentState.put("isConcurrent", this.isConcurrent);
   persistentState.put("isScope", this.isScope);
   persistentState.put("isEventScope", this.isEventScope);
   persistentState.put("parentId", parentId);
   persistentState.put("name", name);
   persistentState.put("lockTime", lockTime);
   persistentState.put("superExecution", this.superExecutionId);
   persistentState.put("rootProcessInstanceId", this.rootProcessInstanceId);
   if (forcedUpdate) {
     persistentState.put("forcedUpdate", Boolean.TRUE);
   }
   persistentState.put("suspensionState", this.suspensionState);
   persistentState.put("startTime", this.startTime);
   persistentState.put("startUserId", this.startUserId);
   persistentState.put("eventSubscriptionCount", eventSubscriptionCount);
   persistentState.put("taskCount", taskCount);
   persistentState.put("jobCount", jobCount);
   persistentState.put("timerJobCount", timerJobCount);
   persistentState.put("suspendedJobCount", suspendedJobCount);
   persistentState.put("deadLetterJobCount", deadLetterJobCount);
   persistentState.put("variableCount", variableCount);
   persistentState.put("identityLinkCount", identityLinkCount);
   return persistentState;
 }
946061
public String getStatus() {

    StringBuffer s = new StringBuffer();

    s.append("Maps : " + completedMaps + "/" + totalMaps);
    s.append(" (" + mapProgress + ")");
    s.append("  Reduces : " + completedReduces + "/" + totalReduces);
    s.append(" (" + reduceProgress + ")");

    return s.toString();
  }
400575
public com.google.api.ads.adwords.axis.v201809.cm.SharedSetStatus getStatus() {
        return status;
    }
552717
protected List<CmsContainer> getPageState() {

        PageStateVisitor visitor = new PageStateVisitor();
        processPageContent(visitor);
        return visitor.getContainers();
    }
1149755
@Override
    public DevState state() {
        MDC.setContextMap(contextMap);
        xlogger.entry();
        try {
            state = getState();
        } catch (final DevFailed e) {
            try {
                stateImpl.stateMachine(DeviceState.UNKNOWN);
                statusImpl.statusMachine(DevFailedUtils.toString(e), DeviceState.UNKNOWN);
                state = DevState.UNKNOWN;
            } catch (final DevFailed e1) {
                logger.debug(NOT_IMPORTANT_ERROR, e1);
            }
            logger.debug(NOT_IMPORTANT_ERROR, e);
        }
        return state;
    }
808042
public boolean getState()
    {
        boolean bReturnValue;
        if (m_strTargetValue != null)
        {
            if (m_boolMaskValue.booleanValue())
                bReturnValue = (this.getString().indexOf(m_strTargetValue) != -1); // Is the target value in the field string
            else
                bReturnValue = m_strTargetValue.equals(this.toString()); // Is the target value in the field string
        }
        else if (m_fldTargetValue != null)
            bReturnValue = this.equals(m_fldTargetValue); // Is the target value in the field string
        else
            bReturnValue = this.getField().isNull(); // Is the field string null?
        if (m_bTrueIfMatch)
            return bReturnValue;
        else
            return !bReturnValue;
    }
531917
public Status getStatus() {
        String status = m_resultFields.get(STATUS);
        if (status == null) {
            return Status.OK;
        } else {
            return Status.valueOf(status.toUpperCase());
        }
    }
690480
public function getState() {
        if (!isset($this->state)) {
            $state = $this->getData(OntologyDeliveryExecution::PROPERTY_STATUS);
            if (!$state instanceof core_kernel_classes_Resource) {
                $state = $this->getResource((string)$state);
            }
            $this->state = $state;
        }
        return $this->state;
    }
1305113
public SubscriberState asState() {
        return SubscriberState.builder()
                        .parameterUpdaterStatus(parameterServerListener == null ? Collections.emptyMap()
                                        : parameterServerListener.getUpdater().status())
                        .isMaster(isMaster())
                        .connectionInfo(isMaster() ? masterConnectionInfo().toString()
                                        : slaveConnectionInfo().toString())
                        .isAsync(parameterServerListener.getUpdater().isAsync())
                        .isReady(parameterServerListener.getUpdater().isReady())
                        .totalUpdates(getResponder().getNdArrayHolder().totalUpdates()).streamId(streamId)
                        .serverState(subscriberLaunched() ? ServerState.STARTED.name().toLowerCase()
                                        : ServerState.STOPPED.name().toLowerCase())
                        .build();
    }
523580
public alluxio.grpc.ConfigStatus getStatus() {
    alluxio.grpc.ConfigStatus result = alluxio.grpc.ConfigStatus.valueOf(status_);
    return result == null ? alluxio.grpc.ConfigStatus.PASSED : result;
  }
684700
public Environment getEnvironment()
    {
        Environment env = ((BaseApplication)this.getApplication()).getEnvironment();
        if (env == null)
            env = Environment.getEnvironment(null);   // Never
        return env;
    }
351456
public com.google.api.ads.admanager.axis.v201808.CdnConfigurationStatus getCdnConfigurationStatus() {
        return cdnConfigurationStatus;
    }