Tabnine Logo
DeploymentQuery.deploymentSource
Code IndexAdd Tabnine to your IDE (free)

How to use
deploymentSource
method
in
org.camunda.bpm.engine.repository.DeploymentQuery

Best Java code snippets using org.camunda.bpm.engine.repository.DeploymentQuery.deploymentSource (Showing top 11 results out of 315)

origin: camunda/camunda-bpm-platform

query.deploymentSource(null);
query.deploymentSource(source);
origin: camunda/camunda-bpm-platform

query.deploymentSource(null);
query.deploymentSource(source);
origin: camunda/camunda-bpm-platform

@Test
public void testAdditionalParameters() {
 Map<String, String> queryParameters = getCompleteQueryParameters();
 given().queryParams(queryParameters)
  .expect().statusCode(Status.OK.getStatusCode())
  .when().get(DEPLOYMENT_QUERY_URL);
 // assert query invocation
 verify(mockedQuery).deploymentName(queryParameters.get("name"));
 verify(mockedQuery).deploymentNameLike(queryParameters.get("nameLike"));
 verify(mockedQuery).deploymentId(queryParameters.get("id"));
 verify(mockedQuery).deploymentSource(queryParameters.get("source"));
 verify(mockedQuery).list();
}
origin: camunda/camunda-bpm-platform

public void testQueryByInvalidSource() {
 DeploymentQuery query = repositoryService
   .createDeploymentQuery()
   .deploymentSource("invalid");
 assertEquals(0, query.list().size());
 assertEquals(0, query.count());
}
origin: camunda/camunda-bpm-platform

public void testQueryBySource() {
 DeploymentQuery query = repositoryService
   .createDeploymentQuery()
   .deploymentSource(ProcessApplicationDeployment.PROCESS_APPLICATION_DEPLOYMENT_SOURCE);
 assertEquals(1, query.list().size());
 assertEquals(1, query.count());
}
origin: camunda/camunda-bpm-platform

public void testQueryByNullSource() {
 DeploymentQuery query = repositoryService
   .createDeploymentQuery()
   .deploymentSource(null);
 assertEquals(1, query.list().size());
 assertEquals(1, query.count());
}
origin: camunda/camunda-bpm-platform

@Test
public void testWithoutSourceParameter() {
 given()
  .queryParam("withoutSource", true)
 .expect()
  .statusCode(Status.OK.getStatusCode())
 .when()
  .get(DEPLOYMENT_QUERY_URL);
 // assert query invocation
 verify(mockedQuery).deploymentSource(null);
 verify(mockedQuery).list();
}
origin: org.camunda.bpm/camunda-engine-rest-jaxrs2

query.deploymentSource(null);
query.deploymentSource(source);
origin: org.camunda.bpm/camunda-engine

public void testQueryByNullSource() {
 DeploymentQuery query = repositoryService
   .createDeploymentQuery()
   .deploymentSource(null);
 assertEquals(1, query.list().size());
 assertEquals(1, query.count());
}
origin: org.camunda.bpm/camunda-engine

public void testQueryByInvalidSource() {
 DeploymentQuery query = repositoryService
   .createDeploymentQuery()
   .deploymentSource("invalid");
 assertEquals(0, query.list().size());
 assertEquals(0, query.count());
}
origin: org.camunda.bpm/camunda-engine

public void testQueryBySource() {
 DeploymentQuery query = repositoryService
   .createDeploymentQuery()
   .deploymentSource(ProcessApplicationDeployment.PROCESS_APPLICATION_DEPLOYMENT_SOURCE);
 assertEquals(1, query.list().size());
 assertEquals(1, query.count());
}
org.camunda.bpm.engine.repositoryDeploymentQuerydeploymentSource

Javadoc

If the given source is null, then deployments are returned where source is equal to null. Otherwise only deployments with the given source are selected.

Popular methods of DeploymentQuery

  • list
  • singleResult
  • count
  • deploymentId
    Only select deployments with the given deployment id.
  • deploymentName
    Only select deployments with the given name.
  • deploymentAfter
    Only select deployments deployed after the given date
  • deploymentBefore
    Only select deployments deployed before the given date
  • deploymentNameLike
    Only select deployments with a name like the given string.
  • includeDeploymentsWithoutTenantId
    Select deployments which have no tenant id. Can be used in combination with #tenantIdIn(String...).
  • orderByDeploymentId
    Order by deployment id (needs to be followed by #asc() or #desc()).
  • orderByDeploymentName
    Order by deployment name (needs to be followed by #asc() or #desc()).
  • orderByDeploymentTime
    Order by deployment time (needs to be followed by #asc() or #desc()).
  • orderByDeploymentName,
  • orderByDeploymentTime,
  • orderByTenantId,
  • tenantIdIn,
  • withoutTenantId,
  • listPage,
  • asc,
  • desc,
  • orderByDeploymenTime

Popular in Java

  • Making http requests using okhttp
  • getApplicationContext (Context)
  • getSupportFragmentManager (FragmentActivity)
  • runOnUiThread (Activity)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Socket (java.net)
    Provides a client-side TCP socket.
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now