Examples of Status


Examples of com.asakusafw.runtime.io.csv.CsvFormatException.Status

        buf.put(lineBuffer.position());
    }

    private Status createStatusInDecode(Reason reason, String expected, String actual) {
        assert reason != null;
        return new Status(
                reason,
                path,
                currentPhysicalLine,
                currentRecordNumber,
                cellBeginPositions.limit(),
View Full Code Here

Examples of com.atlassian.jira.issue.status.Status

    createConfigForStatus(ConfigRefEnum.CLOSED_WORKFLOW_STATUSES, "Closed");
  }

  private void createConfigForStatus(ConfigRefEnum configRef, String statusName)
  {
    Status status = constantsManager.getStatusByName(statusName);
    configDaoService.getOrCreate(configRef, status != null ? status.getId() : "");
  }
View Full Code Here

Examples of com.atlassian.jira.rest.client.api.domain.Status

    assertNull(issue.getDescription()); // by default search doesn't retrieve description

    final BasicPriority expectedPriority = new BasicPriority(toUri("http://localhost:8090/jira/rest/api/2/priority/3"), 3L, "Major");
    assertEquals(expectedPriority, issue.getPriority());

    final Status expectedStatus = new Status(toUri("http://localhost:8090/jira/rest/api/2/status/1"), 1L, "Open", "The issue is open and ready for the assignee to start work on it.", toUri("http://localhost:8090/jira/images/icons/status_open.gif"));
    assertEquals(expectedStatus, issue.getStatus());

    assertEmptyIterable(issue.getComments());
    assertEmptyIterable(issue.getComments());
    assertEmptyIterable(issue.getComponents());
View Full Code Here

Examples of com.atlassian.jira.rest.client.domain.Status

    final URI self = JsonParseUtil.getSelfUri(json);
    final String name = json.getString("name");
        final Long id = JsonParseUtil.getOptionalLong(json, "id");
        final String iconUrl = JsonParseUtil.getOptionalString(json, "iconUrl");
        if (iconUrl != null) {
            return new Status(self, name, null, JsonParseUtil.parseURI(iconUrl), id);
        }
    return new BasicStatus(self, name, id);
  }
View Full Code Here

Examples of com.avaje.ebeaninternal.server.lib.sql.DataSourcePool.Status

      Thread.sleep(10000);
      pool.getStatistics(true);

      Thread.sleep(30000);

      Status status = pool.getStatus(false);
      System.out.println(status);

      pool.shutdown(false);

    } catch (Exception e) {
View Full Code Here

Examples of com.avaje.tests.model.basic.Order.Status

    for (OrderAggregate oa : list) {
      Double totalAmount = oa.getTotalAmount();
      Order order = oa.getOrder();
      Integer id = order.getId();
      Status status = order.getStatus();
      System.out.println("Order: " + id + " " + status + " total:" + totalAmount);

      Customer c = order.getCustomer();
      System.out.println("   -> customer: " + c.getId() + " " + c.getName());
View Full Code Here

Examples of com.bddinaction.flyinghigh.model.Status

import com.bddinaction.flyinghigh.model.Status;

public class InMemoryStatusService implements StatusService {
    public Status statusLevelFor(int statusPoints) {
        Status highestMatchingStatus = Status.Bronze;
        for(Status status : Status.values())  {
            if (statusPoints >= status.getMinimumPoints()) {
                highestMatchingStatus = status;
            }
        }
View Full Code Here

Examples of com.betfair.tornjak.monitor.Status

        if (destinationType == DestinationType.Topic || destinationType == DestinationType.DurableTopic) {
            boolean monitorThisEvent = monitorEvent(eventName);
            if (monitorThisEvent) {
                long pingFailureTimeout = getSubscriberPingFailureTimeout(eventName);
                long pingWarningTimeout = getSubscriberPingWarningTimeout(eventName);
                Status maxStatus = getSubscriberMaxEffectOnOverallStatus(eventName);
                ret = new TopicSubscriberPingMonitor(transportIdentifier, destinationName, subscriptionId, pingWarningTimeout, pingFailureTimeout, maxStatus);
                subscriberMonitorsBySession.put(session, ret);
                if (monitorRegistry != null) {
                    monitorRegistry.addMonitor(ret);
                }
View Full Code Here

Examples of com.cj.qunitTestDriver.Status

       
        return d;
    }

    private void updateTestSuiteShape() {
        Status status = page.status();


        for(TestStatus test : status.tests){

            final String moduleName = test.moduleName;
View Full Code Here

Examples of com.cloud.host.Status

                continue;
            }
            // get the data center IP address, find a host on the pod, use that host to ping the data center IP address
            List<Long> otherHosts = findHostByPod(vmHost.getPodId(), vm.getHostId());
            for (Long otherHost : otherHosts) {
                Status vmState = testIpAddress(otherHost, nic.getIp4Address());
                if (vmState == null) {
                    // can't get information from that host, try the next one
                    continue;
                }
                if (vmState == Status.Up) {
                    if (s_logger.isDebugEnabled()) {
                        s_logger.debug("successfully pinged vm's private IP (" + vm.getPrivateIpAddress() + "), returning that the VM is up");
                    }
                    return Boolean.TRUE;
                } else if (vmState == Status.Down) {
                    // We can't ping the VM directly...if we can ping the host, then report the VM down.
                    // If we can't ping the host, then we don't have enough information.
                    Status vmHostState = testIpAddress(otherHost, vmHost.getPrivateIpAddress());
                    if ((vmHostState != null) && (vmHostState == Status.Up)) {
                        if (s_logger.isDebugEnabled()) {
                            s_logger.debug("successfully pinged vm's host IP (" + vmHost.getPrivateIpAddress() + "), but could not ping VM, returning that the VM is down");
                        }
                        return Boolean.FALSE;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.