Examples of path()


Examples of org.jboss.errai.ui.nav.client.local.Page.path()

        throw new GenerationException(
                "Class " + pageClass.getFullyQualifiedName() + " is annotated with @Page, so it must be a subtype " +
                "of Widget.");
      }
      Page annotation = pageClass.getAnnotation(Page.class);
      List<String> template = parsePageUriTemplate(pageClass, annotation.path());
      String pageName = template.get(0);

      MetaClass prevPageWithThisName = pageNames.put(pageName, pageClass);
      if (prevPageWithThisName != null) {
        throw new GenerationException(
View Full Code Here

Examples of org.jboss.resteasy.specimpl.ResteasyUriBuilder.path()

   protected void processMethod(ResourceFactory rf, String base, ResourceLocator method)
   {
      ResteasyUriBuilder builder = new ResteasyUriBuilder();
      if (base != null)
         builder.path(base);
      builder.path(method.getFullpath());
      String fullpath = builder.getPath();
      if (fullpath == null)
         fullpath = "";
View Full Code Here

Examples of org.jboss.resteasy.specimpl.UriBuilderImpl.path()

         UriBuilderImpl builder = new UriBuilderImpl();
         builder.scheme(absolute.getProtocol());
         builder.host(absolute.getHost());
         builder.port(absolute.getPort());
         builder.path(absolute.getPath());
         builder.replaceQuery(absolute.getQuery());
         absolutePath = builder.build();
      }
      catch (MalformedURLException e)
      {
View Full Code Here

Examples of org.locationtech.geogig.api.NodeRef.path()

                }
            } else if (oldObject == null) {
                // Add
                Node node = newObject.getNode();
                parentTree.put(node);
                parentMetadataIds.put(newObject.path(), newObject.getMetadataId());
            } else {
                // Modify
                Node node = newObject.getNode();
                parentTree.put(node);
            }
View Full Code Here

Examples of org.modeshape.jcr.query.QueryBuilder.OrderByOperandBuilder.path()

                    NameTest attribute = spec.getAttributeName();
                    assert !attribute.isWildcard();
                    if (attribute.matches("jcr", "path")) {
                        String pathOf = tableName;
                        if (pathOf == null) pathOf = aliases.iterator().next();
                        operandBuilder.path(pathOf);
                    } else {
                        operandBuilder.propertyValue(tableName, attribute.toString());
                        builder.select(tableName + "." + attribute.toString());
                    }
                } else if (spec.getScoreFunction() != null) {
View Full Code Here

Examples of org.openbel.framework.common.SystemConfigurationFile.path()

            fail("System configuration-based test does not declare SystemConfigurationFile annotation.");
            return;
        }

        try {
            createSystemConfiguration(new File(configAnnotation.path()));
        } catch (IOException ioex) {
            ioex.printStackTrace();
            fail(ioex.getMessage());
        }
    }
View Full Code Here

Examples of org.resteasy.specimpl.UriBuilderImpl.path()

                        UriBuilderImpl builder = new UriBuilderImpl();
                        builder.scheme(absolute.getProtocol());
                        builder.host(absolute.getHost());
                        builder.port(absolute.getPort());
                        builder.path(absolute.getPath());
                        builder.replaceQueryParams(absolute.getQuery());
                        absolutePath = builder.build();
                    }
                    catch (MalformedURLException e)
                    {
View Full Code Here

Examples of org.restlet.ext.jaxrs.ExtendedUriBuilder.path()

            }
            if (expectedHost != null) {
                expectedUriBuilder.host(expectedHost);
            }
            expectedUriBuilder.port(expectedPort);
            expectedUriBuilder.path(expectedPath);
            expectedUriBuilder.extension(expectedExtension);
            if (expectedQuery != null) {
                expectedUriBuilder.replaceQuery(expectedQuery);
            }
            String expectedURI = expectedUriBuilder.build().toString();
View Full Code Here

Examples of org.sonar.api.server.ws.WebService.Controller.path()

  @Test
  public void define_ws() throws Exception {
    Controller controller = tester.controller("api/qualitygates");
    assertThat(controller).isNotNull();
    assertThat(controller.path()).isEqualTo("api/qualitygates");
    assertThat(controller.description()).isNotEmpty();
    assertThat(controller.actions()).hasSize(15);

    Action list = controller.action("list");
    assertThat(list).isNotNull();
View Full Code Here

Examples of org.sonar.core.component.ComponentDto.path()

    assertThat(result.moduleUuid()).isEqualTo("EFGH");
    assertThat(result.moduleUuidPath()).isEqualTo("ABCD.EFGH.");
    assertThat(result.subProjectId()).isEqualTo(2);
    assertThat(result.projectUuid()).isEqualTo("ABCD");
    assertThat(result.key()).isEqualTo("org.struts:struts-core:src/org/struts/RequestContext.java");
    assertThat(result.path()).isEqualTo("src/org/struts/RequestContext.java");
    assertThat(result.name()).isEqualTo("RequestContext.java");
    assertThat(result.longName()).isEqualTo("org.struts.RequestContext");
    assertThat(result.qualifier()).isEqualTo("FIL");
    assertThat(result.scope()).isEqualTo("FIL");
    assertThat(result.language()).isEqualTo("java");
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.