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

How to use
TechnologyTag
in
org.jboss.windup.reporting.config

Best Java code snippets using org.jboss.windup.reporting.config.TechnologyTag (Showing top 6 results out of 315)

origin: windup/windup

public static TechnologyTag withName(String tagName)
{
  return new TechnologyTag(tagName);
}
origin: windup/windup

  @Override
  public TechnologyTag processElement(ParserContext handlerManager, Element element) throws ConfigurationException
  {
    String tag = element.getTextContent();
    if (StringUtils.isNotBlank(tag))
    {
      tag = tag.trim();
    } else
    {
      throw new WindupException("Error, '" + TechnologyTagHandler.TECHNOLOGY_TAG + "' element must have non-empty content");
    }
    TechnologyTagLevel issueCategory = TechnologyTagLevel.INFORMATIONAL;
    String category = element.getAttribute(TechnologyTagHandler.LEVEL);
    if (StringUtils.isNotBlank(category))
    {
      issueCategory = TechnologyTagLevel.valueOf(category);
    }
    return TechnologyTag.withName(tag).withTechnologyTagLevel(issueCategory);
  }
}
origin: org.jboss.windup.reporting/windup-reporting-api

@Override
public FileModel resolvePayload(GraphRewrite event, EvaluationContext context, WindupVertexFrame payload)
{
  checkVariableName(event, context);
  if (payload instanceof FileReferenceModel)
  {
    return ((FileReferenceModel) payload).getFile();
  }
  if (payload instanceof FileModel)
  {
    return (FileModel) payload;
  }
  return null;
}
origin: org.jboss.windup.reporting/windup-reporting-impl

  @Override
  public TechnologyTag processElement(ParserContext handlerManager, Element element) throws ConfigurationException
  {
    String tag = element.getTextContent();
    if (StringUtils.isNotBlank(tag))
    {
      tag = tag.trim();
    } else
    {
      throw new WindupException("Error, '" + TechnologyTagHandler.TECHNOLOGY_TAG + "' element must have non-empty content");
    }
    TechnologyTagLevel issueCategory = TechnologyTagLevel.INFORMATIONAL;
    String category = element.getAttribute(TechnologyTagHandler.LEVEL);
    if (StringUtils.isNotBlank(category))
    {
      issueCategory = TechnologyTagLevel.valueOf(category);
    }
    return TechnologyTag.withName(tag).withTechnologyTagLevel(issueCategory);
  }
}
origin: windup/windup

@Override
public FileModel resolvePayload(GraphRewrite event, EvaluationContext context, WindupVertexFrame payload)
{
  checkVariableName(event, context);
  if (payload instanceof FileReferenceModel)
  {
    return ((FileReferenceModel) payload).getFile();
  }
  if (payload instanceof FileModel)
  {
    return (FileModel) payload;
  }
  return null;
}
origin: org.jboss.windup.reporting/windup-reporting-api

public static TechnologyTag withName(String tagName)
{
  return new TechnologyTag(tagName);
}
org.jboss.windup.reporting.configTechnologyTag

Javadoc

Classifies a FileModel Iteration payload.

Most used methods

  • <init>
  • checkVariableName
  • withName
  • withTechnologyTagLevel

Popular in Java

  • Reactive rest calls using spring rest template
  • getResourceAsStream (ClassLoader)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • compareTo (BigDecimal)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top plugins for WebStorm
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