Examples of status()


Examples of org.jclouds.compute.domain.NodeMetadataBuilder.status()

      } catch (NullPointerException e) {
         // os section was null
      }
      // TODO build from resource allocation section
      // builder.hardware(findHardwareForVM.apply(from));
      builder.status(VAPPSTATUS_TO_NODESTATE.get(from.getStatus()));
      Set<String> addresses = Utils.getIpsFromVM(from);
      builder.publicAddresses(filter(addresses, not(IsPrivateIPAddress.INSTANCE)));
      builder.privateAddresses(filter(addresses, IsPrivateIPAddress.INSTANCE));
      return builder.build();
   }
View Full Code Here

Examples of org.jclouds.fujitsu.fgcp.compute.strategy.VServerMetadata.Builder.status()

            return null;
         }
         VServerStatus status = api.getVirtualServerApi().getStatus(id);
         logger.trace("Node %s [%s] - %s", id, status, server);
         builder.serverWithDetails(server);
         builder.status(status);
         builder.initialPassword(api.getVirtualServerApi().getInitialPassword(id));

         // mapped public ips?
//       String fwId = toFirewallId.apply(id);
       // futures.add(asyncApi.getBuiltinServerApi().getConfiguration(fwId,
View Full Code Here

Examples of org.jeecgframework.core.annotation.config.AutoMenuOperation.status()

                if (!operationMap.containsKey(menuOperationKey.toString())) {
                  TSOperation operation = new TSOperation();
                  operation.setOperationname(autoMenuOperation.name());
                  operation.setOperationcode(code);
                  operation.setOperationicon(null);
                  operation.setStatus(Short.parseShort(Integer.toString(autoMenuOperation.status())));
                  operation.setTSFunction(function);
                 
                  String iconId = autoMenuOperation.icon();
                  if (StringUtil.isNotEmpty(iconId)) {
                    TSIcon icon = new TSIcon();
View Full Code Here

Examples of org.jitterbit.integration.data.validation.EntityCollectionValidationResult.status()

        @Override
        public void valueChanged(TreeSelectionEvent e) {
            selectedEntity = getSelectedEntity();
            if (selectedEntity != null) {
                EntityCollectionValidationResult result = model.getCompoundValidationState(selectedEntity);
                if (result.status() != ValidationStatus.VALID) {
                    populateList(result);
                    return;
                }
            }
            clearList();
View Full Code Here

Examples of org.jitterbit.integration.data.validation.ValidationResult.status()

        return null;
    }

    private String getIconToolTip() {
        ValidationResult v = getOperation().getCurrentValidationResult();
        if (v.status() == ValidationStatus.VALID) {
            return "This " + EntityType.Operation.toString() + " is valid.";
        } else {
            StringBuilder s = new StringBuilder("<html>");
            s.append("<b>Validation Problems:</b><br>");
            HtmlListGenerator list = HtmlListGenerator.unordered();
View Full Code Here

Examples of org.mifosplatform.portfolio.loanaccount.domain.Loan.status()

        checkClientOrGroupActive(loan);
        final LoanCharge loanCharge = retrieveLoanChargeBy(loanId, loanChargeId);

        // Charges may be waived only when the loan associated with them are
        // active
        if (!loan.status().isActive()) { throw new LoanChargeCannotBePayedException(LOAN_CHARGE_CANNOT_BE_PAYED_REASON.LOAN_INACTIVE,
                loanCharge.getId()); }

        // validate loan charge is not already paid or waived
        if (loanCharge.isWaived()) {
            throw new LoanChargeCannotBePayedException(LOAN_CHARGE_CANNOT_BE_PAYED_REASON.ALREADY_WAIVED, loanCharge.getId());
View Full Code Here

Examples of org.netmelody.cieye.core.domain.TargetDetail.status()

            allowing(contact).makeJsonRestCall("jobUrl/api/json", JobDetail.class); will(returnValue(new JobDetail()));
        }});
       
        TargetDetail target = jobLab.analyseJob(job);
       
        assertThat(target.status(), Matchers.is(Status.GREEN));
    }

    @Test public void
    includesLastStartTimeForGreenBuild() {
        final JobDetail jobDetail = new JobDetail();
View Full Code Here

Examples of org.netmelody.cieye.core.domain.TargetDigest.status()

    @Override
    public TargetDetail statusOf(TargetId targetId) {
        if (emptyFeatureTargets.containsKey(targetId)) {
            final TargetDigest noTarget = emptyFeatureTargets.get(targetId);
            return new TargetDetail(targetId.id(), noTarget.webUrl(), noTarget.name(), noTarget.status(), 0L);
        }
        final TargetDetail untrustedResult = untrustedSpy.statusOf(targetId);
        return (untrustedResult == null) ? new TargetDetail(targetId.id(), "", "", Status.UNKNOWN, 0L) : untrustedResult;
    }
View Full Code Here

Examples of org.netmelody.cieye.spies.jenkins.jsondomain.JobDetail.status()

        if (!jobDigest.url.equals(jobEndpoint)) {
            throw new IllegalArgumentException("Incorrect job digest");
        }
       
        final JobDetail job = communicator.jobDetailFor(jobEndpoint);
        if (!job.building() && Status.BROKEN != job.status()) {
            sponsorCache.clear();
            return new TargetDetail(job.url, job.url, job.name, job.status(), startTimeOf(job));
        }
       
        return new TargetDetail(job.url, job.url, job.name, statusOf(job), startTimeOf(job), buildsFor(job), sponsorsOf(job));
View Full Code Here

Examples of org.netmelody.cieye.spies.teamcity.jsondomain.Build.status()

            return false;
        }
       
        final BuildTypeDetail buildTypeDetail = communicator.detailsFor(recognisedBuildTypes.get(target));
        final Build lastCompletedBuild = communicator.lastCompletedBuildFor(buildTypeDetail);
        if (null != lastCompletedBuild && Status.BROKEN.equals(lastCompletedBuild.status())) {
            communicator.commentOn(lastCompletedBuild, note);
        }

        return true;
    }
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.