Tabnine Logo
AddArchiveReferenceInformation
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.jboss.windup.rules.apps.java.scan.operation.AddArchiveReferenceInformation (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

Most used methods

  • <init>

Popular in Java

  • Start an intent from android
  • putExtra (Intent)
  • getExternalFilesDir (Context)
  • findViewById (Activity)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • 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