Examples of Target


Examples of org.servicemix.jbi.deployment.Target

    }

    protected String deployServiceUnit(File location, ServiceUnit su) throws DeploymentException {
        String result = null;
        String name = su.getIdentification().getName();
        Target target = su.getTarget();
        String componentName = target.getComponentName();
        String artifact = target.getArtifactsZip();
        try {
            File targetDir = environmentContext.getServiceUnitDirectory(componentName, name);
            // unpack the artifact
            if (artifact != null) {
                File artifactFile = new File(location, artifact);
View Full Code Here

Examples of org.sikuli.api.Target

    simulator.start();
   
    Rectangle b = simulator.getBounds();
    ScreenRegion s = new DesktopScreenRegion(b.x,b.y,b.width,b.height)

    Target target;
    List<ScreenRegion> rs;

    // find all unchecked checkboxes ordered from bottom to top 
   
    target = new ImageTarget(Images.UncheckedCheckbox);
    target.setLimit(15);
    target.setOrdering(Target.Ordering.BOTTOM_UP);
   
    rs = s.findAll(target);
   
    canvas.addLabel(Relative.to(s).topLeft().getScreenLocation(), "Unchecked checkboxes found in bottom-up ordering");
    for (int i=0; i < rs.size(); ++i){
      ScreenRegion r = rs.get(i);
      canvas.addBox(r);
      canvas.addLabel(Relative.to(r).topLeft().left(20).getScreenLocation(), ""+(i+1));
    }
    canvas.display(5);
       
    // find all styled rectangles (e.g., buttons) ordered from left to right
 
    target = new StyledRectangleTarget(Images.ButtonOptions);
    target.setOrdering(Target.Ordering.LEFT_RIGHT);
   
    rs = s.findAll(target);
   
    canvas.clear().addLabel(Relative.to(s).topLeft().getScreenLocation(), "Rectangles found in left-right ordering");
    for (int i=0; i < rs.size(); ++i){
View Full Code Here

Examples of org.snmp4j.Target

      final String walk_base             = config.remove("walk");
      final String separate_queries      = config.remove("separate_queries");
      /* Assigned Later */
      boolean send_separate_queries = false;
      final HashMap<String,String> oids  = new HashMap<String,String>();
      Target target;
      HashMap<String, ArrayList<oid_data>> oid_hashmap = new HashMap<String, ArrayList<oid_data>>();
      OctetString localEngineID = new OctetString(MPv3.createLocalEngineID());

      if (port == null) {
        port = "161";
View Full Code Here

Examples of org.sonatype.nexus.proxy.targets.Target

    if (cc == null) {
      throw new ConfigurationException("Content class with ID=\"" + resource.getContentClass()
          + "\" does not exists!");
    }

    Target target = new Target(resource.getId(), resource.getName(), cc, resource.getPatterns());

    return target;
  }
View Full Code Here

Examples of org.soybeanMilk.web.exe.WebAction.Target

  }
 
  public void handleTarget(WebAction webAction, WebObjectSource webObjectSource)
      throws ServletException, IOException
  {
    Target target=webAction.getTarget();
    if(target == null)
    {
      if(log.isDebugEnabled())
        log.debug("the action "+webAction+" has no Target defined, handling is not needed.");
     
      return;
    }
   
    TargetHandler th=getTargetHandler(target.getType());
    if(th == null)
      throw new NullPointerException("no TargetHandler found for handling Target of type "+SbmUtils.toString(target.getType()));
   
    th.handleTarget(webAction, webObjectSource);
  }
View Full Code Here

Examples of org.springframework.xd.shell.Target

      }
      if (Target.DEFAULT_SPECIFIED_PASSWORD.equalsIgnoreCase(targetPassword) && !StringUtils.isEmpty(targetUsername)) {
        // read password from the command line
        targetPassword = userInput.prompt("Password", "", false);
      }
      configuration.setTarget(new Target(targetUriString, targetUsername, targetPassword));
      if (configuration.getTarget().getTargetCredentials() != null) {
        BasicCredentialsProvider credentialsProvider = new BasicCredentialsProvider();
        credentialsProvider.setCredentials(AuthScope.ANY,
            new UsernamePasswordCredentials(
                configuration.getTarget().getTargetCredentials().getUsername(),
View Full Code Here

Examples of org.vfny.geoserver.issues.Target

        //add an issue
        IIssue newIssue = new Issue();
        newIssue.setDescription("test");
        newIssue.setPriority(Priority.HIGH);
        newIssue.setResolution(Resolution.IN_PROGRESS);
        newIssue.setTarget(new Target("Diagram","1"));
        List<IIssue> list = new LinkedList<IIssue>();
        list.add(newIssue);
        issueService.addIssues(list);
       
        List<IIssue> newList = (List<IIssue>)issueService.getIssues();
View Full Code Here

Examples of org.zeroexchange.web.navigation.target.Target

     */
    @Override
    public void beforePageRender(Page page) throws BusinessLogicException {
        Class pageClass = page.getClass();
        if(breadcrumbInfoAccessor.isBreadcrumbedPage(pageClass)) {
            Target target = getTarget(page);
            String targetKey = targetKeyFactory.getTargetKey(target);
            String pageKey = targetKey;
            if(page instanceof KeyAware) {
                pageKey = ((KeyAware)page).getKey();
            }
View Full Code Here

Examples of processing.app.debug.Target

    // replaced hella slow bubble sort with this feller for 0093
    Arrays.sort(list, String.CASE_INSENSITIVE_ORDER);
   
    for (String target : list) {
      File subfolder = new File(folder, target);
      targetsTable.put(target, new Target(target, subfolder));
    }
  }
View Full Code Here

Examples of sun.rmi.transport.Target

     * Checks for objects that are instances of java.rmi.Remote
     * that need to be serialized as proxy objects.
     */
    protected final Object replaceObject(Object obj) throws IOException {
        if ((obj instanceof Remote) && !(obj instanceof RemoteStub)) {
            Target target = ObjectTable.getTarget((Remote) obj);
            if (target != null) {
                return target.getStub();
            }
        }
        return obj;
    }
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.