congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
SourceMode
Code IndexAdd Tabnine to your IDE (free)

How to use
SourceMode
in
org.jboss.windup.rules.apps.java.condition

Best Java code snippets using org.jboss.windup.rules.apps.java.condition.SourceMode (Showing top 16 results out of 315)

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

/**
 * Create a new {@link SourceMode} condition that returns <code>true</code> if {@link SourceModeOption} is NOT
 * enabled.
 */
public static ConditionBuilder isDisabled()
{
  return new SourceMode(Boolean.FALSE);
}
origin: org.jboss.windup.rules.apps/windup-rules-java-api

@Override
public Configuration getConfiguration(RuleLoaderContext ruleLoaderContext)
{
  return ConfigurationBuilder.begin()
  .addRule()
  .when(SourceMode.isDisabled())
  .perform(new DecompileCondition())
  .addRule()
  .when(SourceMode.isDisabled())
  .perform(new CleanFromMultipleSourceFiles());
}
// @formatter:on
origin: org.jboss.windup.rules.apps/windup-rules-java-api

@Override
public Configuration getConfiguration(RuleLoaderContext ruleLoaderContext)
{
 return ConfigurationBuilder.begin()
      .addRule()
      .when(SourceMode.isDisabled())
      .perform(new GraphOperation()
      {
       @Override
       public void perform(GraphRewrite event, EvaluationContext context)
       {
         generateData(event);
       }
      });
}
origin: org.jboss.windup.rules.apps/rules-java

/**
 * Create a new {@link SourceMode} condition that returns <code>true</code> if {@link SourceModeOption} is enabled.
 */
public static ConditionBuilder isEnabled()
{
  return new SourceMode(Boolean.TRUE);
}
origin: windup/windup

@Override
public Configuration getConfiguration(RuleLoaderContext ruleLoaderContext)
{
  return ConfigurationBuilder.begin()
  .addRule()
  .when(SourceMode.isDisabled())
  .perform(new DecompileCondition())
  .addRule()
  .when(SourceMode.isDisabled())
  .perform(new CleanFromMultipleSourceFiles());
}
// @formatter:on
origin: windup/windup

/**
 * Create a new {@link SourceMode} condition that returns <code>true</code> if {@link SourceModeOption} is enabled.
 */
public static ConditionBuilder isEnabled()
{
  return new SourceMode(Boolean.TRUE);
}
origin: windup/windup

@Override
public Configuration getConfiguration(RuleLoaderContext ruleLoaderContext)
{
 return ConfigurationBuilder.begin()
      .addRule()
      .when(SourceMode.isDisabled())
      .perform(new GraphOperation()
      {
       @Override
       public void perform(GraphRewrite event, EvaluationContext context)
       {
         generateData(event);
       }
      });
}
origin: org.jboss.windup.rules.apps/windup-rules-java-api

/**
 * Create a new {@link SourceMode} condition that returns <code>true</code> if {@link SourceModeOption} is enabled.
 */
public static ConditionBuilder isEnabled()
{
  return new SourceMode(Boolean.TRUE);
}
origin: org.jboss.windup.rules.apps/windup-rules-java-api

@Override
public Configuration getConfiguration(RuleLoaderContext ruleLoaderContext)
{
 return ConfigurationBuilder.begin()
      .addRule()
      .when(SourceMode.isDisabled())
      .perform(new CreateDependencyGraphReportOperation());
}
origin: org.jboss.windup.rules.apps/windup-rules-java-api

/**
 * Create a new {@link SourceMode} condition that returns <code>true</code> if {@link SourceModeOption} is NOT
 * enabled.
 */
public static ConditionBuilder isDisabled()
{
  return new SourceMode(Boolean.FALSE);
}
origin: windup/windup

@Override
public Configuration getConfiguration(RuleLoaderContext ruleLoaderContext)
{
 return ConfigurationBuilder.begin()
      .addRule()
      .when(SourceMode.isDisabled())
      .perform(new CreateDependencyGraphReportOperation());
}
origin: windup/windup

/**
 * Create a new {@link SourceMode} condition that returns <code>true</code> if {@link SourceModeOption} is NOT
 * enabled.
 */
public static ConditionBuilder isDisabled()
{
  return new SourceMode(Boolean.FALSE);
}
origin: org.jboss.windup.rules.apps/windup-rules-java-api

if (SourceMode.isDisabled().evaluate(event, context))
origin: windup/windup

if (SourceMode.isDisabled().evaluate(event, context))
origin: org.jboss.windup.rules.apps/windup-rules-java-api

.when(applicationProjectModels, SourceMode.isDisabled())
.perform(new MavenizeApplicationOperation())
.withId("Mavenize-projects-mavenization")
origin: windup/windup

.when(applicationProjectModels, SourceMode.isDisabled())
.perform(new MavenizeApplicationOperation())
.withId("Mavenize-projects-mavenization")
org.jboss.windup.rules.apps.java.conditionSourceMode

Javadoc

Condition that returns true if SourceModeOption is set to true.

Most used methods

  • <init>
  • isDisabled
    Create a new SourceMode condition that returns true if SourceModeOption is NOT enabled.

Popular in Java

  • Making http post requests using okhttp
  • putExtra (Intent)
  • requestLocationUpdates (LocationManager)
  • setContentView (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • CodeWhisperer alternatives
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