Create a derived instance of {@link Status} augmenting the current description with
additional detail.  Leading and trailing whitespace may be removed; this may change in the
future.
512952
public Status augmentDescription(String additionalDetail) {
    if (additionalDetail == null) {
      return this;
    } else if (this.description == null) {
      return new Status(this.code, additionalDetail, this.cause);
    } else {
      return new Status(this.code, this.description + "\n" + additionalDetail, this.cause);
    }
  }
166891
def status(self, s=None):
        
        if s is None:
            return self.states[self._status]
        if isinstance(s, str):
            s = self.states.index(s)
        self._status = s
        self.textproperty.SetLineOffset(self.offset)
        self.actor.SetInput(self.spacer + self.states[s] + self.spacer)
        s = s % len(self.colors)  # to avoid mismatch
        self.textproperty.SetColor(colors.getColor(self.colors[s]))
        bcc = numpy.array(colors.getColor(self.bcolors[s]))
        self.textproperty.SetBackgroundColor(bcc)
        if self.showframe:
            self.textproperty.FrameOn()
            self.textproperty.SetFrameWidth(self.framewidth)
            self.textproperty.SetFrameColor(numpy.sqrt(bcc))
105724
def _post_status(self, state, description):
        
        if self.config.post_status:
            logger.info('Commit statuses enabled')
            if self.config.commit_sha:
                logger.info('Posting {} status to commit SHA {}'.format(state, self.config.commit_sha))
                self.git_client.post_status(
                    state,
                    description,
                    sha=self.config.commit_sha
                )
            else:
                logger.warning('Cannot post commit status because no commit SHA has been '
                               'specified. Either use the --commit-sha CLI argument or '
                               'set the LINTLY_COMMIT_SHA environment variable.')
        else:
            logger.info('Commit statuses disabled')
1174273
public static <T> GenericResponseBuilder<T> status(int status, T entity) {
    return genericResponseBuilderFactory.create(status, entity);
  }
789562
def new_cast_status(self, status):
        
        self.status = status
        if status:
            self.status_event.set()
1267568
public SseKmsEncryptedObjects withStatus(SseKmsEncryptedObjectsStatus status) {
        setStatus(status == null ? null : status.toString());
        return this;
    }
1315211
public function addStatus(int $status, string $description = "", $isMainSuccess = false)
    {
        $this->statuses[$status] = [$description, false];

        $this->statuses[$status] = HttpStatus::create()
            ->setStatus($status)
            ->setDescription($description)
            ->setMainSuccess($isMainSuccess);

        return $this;
    }
1251146
public static Outcome create(final Status status, final URI invocationID) {
        return create(status, invocationID, null, null);
    }
744205
private static PermissionDefinition createPermission(String permission, String description) {

        PermissionDefinitionDataImpl pd = new PermissionDefinitionDataImpl();
        pd.setId(permission);
        pd.setDescription(description);

        return pd;
    }
43453
protected void setPageStatus(IStatus status) {
		this.status = status == null ? SARLEclipsePlugin.getDefault().createOkStatus() : status;
	}
323072
@com.fasterxml.jackson.annotation.JsonProperty("status")
    public void setStatus(String status) {
        this.status = status;
    }
38847
public HttpClientResponseBuilder withStatus(int statusCode) {
        Action lastAction = newRule.getLastAction();
        StatusResponse statusAction = new StatusResponse(lastAction, statusCode);
        newRule.overrideLastAction(statusAction);
        return this;
    }
401435
def from_status(cls, http_status, code_index=0, message=None, developer_message=None, meta=None):
        # type: (HTTPStatus, int, AnyStr, AnyStr, dict) -> Error
        
        return cls(http_status.value,
                   (http_status.value * 100) + code_index,
                   message or http_status.description,
                   developer_message or http_status.description,
                   meta)
1167809
protected void updateConferenceStatus(String status){
        if(cdr != null){
            final ConferenceDetailRecordsDao dao = storage.getConferenceDetailRecordsDao();
            cdr = dao.getConferenceDetailRecord(conferenceSid);
            cdr = cdr.setStatus(status);
            dao.updateConferenceDetailRecordStatus(cdr);
        }
    }
561771
def status
      output = run("info")
      result = output.scan(/^state:\s+([\w]+)|pid:\s+(-?[\d]+)$/).flatten

      LXC::Status.new(result.first, result.last)
    end
476312
public static Action status(final HttpStatus status) {
        return new Action(input -> {
            input.setStatus(status);
            return input;
        });
    }
37488
protected RequestStat createRequestStat() {
        BasicRequestStat basicRequestStat = new BasicRequestStat(origin.getName());
        RequestStat.putInSessionContext(basicRequestStat, context);
        return basicRequestStat;
    }