Examples of navigate()


Examples of org.cloudfoundry.ide.eclipse.server.ui.internal.CloudFoundryURLNavigation.navigate()

          if (iServer != null) {
            String signupURL = CloudFoundryBrandingExtensionPoint.getSignupURL(cfServer.getServerId(),
                cfServer.getUrl());
            if (signupURL != null) {
              CloudFoundryURLNavigation nav = new CloudFoundryURLNavigation(signupURL);
              nav.navigate();
            }
          }
        }
      });
    }
View Full Code Here

Examples of org.jboss.as.controller.registry.Resource.navigate()

    public Resource navigate(PathAddress address) {
        if (address.size() == 0) {
            return this;
        } else {
            Resource child = requireChild(address.getElement(0));
            return address.size() == 1 ? child : child.navigate(address.subAddress(1));
        }
    }

    @Override
    public Set<String> getChildTypes() {
View Full Code Here

Examples of org.jboss.as.controller.registry.Resource.navigate()

    public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
        final ModelNode address = operation.require(VALUE);
        final PathAddress pathAddr = PathAddress.pathAddress(address);
        final Resource resource = context.readResource(PathAddress.EMPTY_ADDRESS);
        try {
            resource.navigate(pathAddr);
            context.getResult().get(VALID).set(true);
        } catch(NoSuchElementException e) {
            context.getResult().get(VALID).set(false);
            context.getResult().get(PROBLEM).set(e.getMessage());
        }
View Full Code Here

Examples of org.jboss.as.controller.registry.Resource.navigate()

            return this;
        }
        PathElement pe = address.getElement(0);
        Resource child = getChild(pe);
        if (child != null) {
            return size == 1 ? child : child.navigate(address.subAddress(1));
        } else {
            throw new NoSuchResourceException(pe);
        }
    }
View Full Code Here

Examples of org.jboss.as.controller.registry.Resource.navigate()

    public Resource navigate(PathAddress address) {
        if (address.size() == 0) {
            return this;
        } else {
            Resource child = requireChild(address.getElement(0));
            return address.size() == 1 ? child : child.navigate(address.subAddress(1));
        }
    }

    @Override
    public Set<Resource.ResourceEntry> getChildren(String childType) {
View Full Code Here

Examples of org.jboss.as.controller.registry.Resource.navigate()

            return this;
        }
        PathElement pe = address.getElement(0);
        Resource child = getChild(pe);
        if (child != null) {
            return size == 1 ? child : child.navigate(address.subAddress(1));
        } else {
            throw new NoSuchResourceException(pe);
        }
    }
View Full Code Here

Examples of org.jboss.as.controller.registry.Resource.navigate()

    public Resource navigate(PathAddress address) {
        if (address.size() == 0) {
            return this;
        } else {
            Resource child = requireChild(address.getElement(0));
            return address.size() == 1 ? child : child.navigate(address.subAddress(1));
        }
    }

    @Override
    public Set<Resource.ResourceEntry> getChildren(String childType) {
View Full Code Here

Examples of org.jboss.as.controller.registry.Resource.navigate()

            return this;
        }
        PathElement pe = address.getElement(0);
        Resource child = getChild(pe);
        if (child != null) {
            return size == 1 ? child : child.navigate(address.subAddress(1));
        } else {
            throw new NoSuchResourceException(pe);
        }
    }
View Full Code Here

Examples of org.jboss.as.controller.registry.Resource.navigate()

        ServiceName cacheServiceName = containerServiceName.append(cacheName);
        ServiceName cacheConfigurationServiceName = CacheConfigurationService.getServiceName(containerName, cacheName);

        // get container Model
        Resource rootResource = context.getRootResource();
        ModelNode container = rootResource.navigate(containerAddress).getModel();

        // get default cache of the container and start mode
        String defaultCache = container.require(ModelKeys.DEFAULT_CACHE).asString();
        StartMode startMode = model.hasDefined(ModelKeys.START) ? StartMode.valueOf(model.get(ModelKeys.START).asString()) : StartMode.LAZY;
View Full Code Here

Examples of org.jboss.seam.pages.Navigation.navigate()

            if (navigation==null)
            {
               navigation = page.getDefaultNavigation();
            }
           
            if ( navigation!=null && navigation.navigate(context, actionOutcomeValue) ) return true
           
         }
      }
      return 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.