Tabnine Logo
AddArchiveReferenceInformation.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.jboss.windup.rules.apps.java.scan.operation.AddArchiveReferenceInformation
constructor

Best Java code snippets using org.jboss.windup.rules.apps.java.scan.operation.AddArchiveReferenceInformation.<init> (Showing top 6 results out of 315)

origin: org.jboss.windup.rules.apps/windup-rules-java-api

public static AddArchiveReferenceInformation to(String variableName)
{
  return new AddArchiveReferenceInformation(variableName);
}
origin: org.jboss.windup.rules.apps/rules-java

public static AddArchiveReferenceInformation to(String variableName)
{
  return new AddArchiveReferenceInformation(variableName);
}
origin: windup/windup

public static AddArchiveReferenceInformation to(String variableName)
{
  return new AddArchiveReferenceInformation(variableName);
}
origin: org.jboss.windup.rules.apps/rules-java

@Override
public Configuration getConfiguration(GraphContext context)
{
  return ConfigurationBuilder.begin()
  .addRule()
  .when(Query.fromType(FileModel.class)
    .withProperty(FileModel.IS_DIRECTORY, true)
  )
  .perform(new RecurseDirectoryAndAddFiles()
  )
  .addRule()
  .when(Query.fromType(FileModel.class)
    .withProperty(FileModel.IS_DIRECTORY, false)
    .withProperty(FileModel.FILE_PATH,
      QueryPropertyComparisonType.REGEX,
      ZipUtil.getEndsWithZipRegularExpression())
  )
  .perform(
    new AddArchiveReferenceInformation()
  );
}
// @formatter:on
origin: org.jboss.windup.rules.apps/windup-rules-java-api

@Override
public Configuration getConfiguration(RuleLoaderContext ruleLoaderContext)
{
  return ConfigurationBuilder.begin()
  .addRule()
  .when(Query.fromType(WindupConfigurationModel.class)
      .piped((GraphRewrite event, GraphTraversal<?, Vertex> pipeline) -> {
        pipeline.out(WindupConfigurationModel.INPUT_PATH);
        pipeline.has(FileModel.IS_DIRECTORY, true);
      })
  )
  .perform(new RecurseDirectoryAndAddFiles())
  .addRule()
  .when(Query.fromType(FileModel.class)
    .withProperty(FileModel.IS_DIRECTORY, false)
    .withProperty(FileModel.FILE_PATH, QueryPropertyComparisonType.REGEX, ZipUtil.getEndsWithZipRegularExpression())
  )
  .perform(
    new AddArchiveReferenceInformation()
  );
}
// @formatter:on
origin: windup/windup

@Override
public Configuration getConfiguration(RuleLoaderContext ruleLoaderContext)
{
  return ConfigurationBuilder.begin()
  .addRule()
  .when(Query.fromType(WindupConfigurationModel.class)
      .piped((GraphRewrite event, GraphTraversal<?, Vertex> pipeline) -> {
        pipeline.out(WindupConfigurationModel.INPUT_PATH);
        pipeline.has(FileModel.IS_DIRECTORY, true);
      })
  )
  .perform(new RecurseDirectoryAndAddFiles())
  .addRule()
  .when(Query.fromType(FileModel.class)
    .withProperty(FileModel.IS_DIRECTORY, false)
    .withProperty(FileModel.FILE_PATH, QueryPropertyComparisonType.REGEX, ZipUtil.getEndsWithZipRegularExpression())
  )
  .perform(
    new AddArchiveReferenceInformation()
  );
}
// @formatter:on
org.jboss.windup.rules.apps.java.scan.operationAddArchiveReferenceInformation<init>

Popular methods of AddArchiveReferenceInformation

    Popular in Java

    • Making http post requests using okhttp
    • getExternalFilesDir (Context)
    • getSupportFragmentManager (FragmentActivity)
    • runOnUiThread (Activity)
    • IOException (java.io)
      Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
    • Queue (java.util)
      A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
    • SortedSet (java.util)
      SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
    • Callable (java.util.concurrent)
      A task that returns a result and may throw an exception. Implementors define a single method with no
    • HttpServletRequest (javax.servlet.http)
      Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
    • Location (org.springframework.beans.factory.parsing)
      Class that models an arbitrary location in a Resource.Typically used to track the location of proble
    • Top 12 Jupyter Notebook Extensions
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

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