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

How to use
values
method
in
com.asakusafw.yaess.core.ExecutionPhase

Best Java code snippets using com.asakusafw.yaess.core.ExecutionPhase.values (Showing top 3 results out of 315)

origin: asakusafw/asakusafw

private static EnumMap<ExecutionPhase, List<ExecutionScript>> consumeScripts(
    NavigableMap<String, String> flowMap, String flowId) {
  EnumMap<ExecutionPhase, List<ExecutionScript>> results = new EnumMap<>(ExecutionPhase.class);
  for (ExecutionPhase phase : ExecutionPhase.values()) {
    results.put(phase, Collections.emptyList());
  }
  int count = 0;
  Map<String, NavigableMap<String, String>> phaseMap = partitioning(flowMap);
  for (Map.Entry<String, NavigableMap<String, String>> entry : phaseMap.entrySet()) {
    String phaseSymbol = entry.getKey();
    NavigableMap<String, String> phaseContents = entry.getValue();
    ExecutionPhase phase = ExecutionPhase.findFromSymbol(phaseSymbol);
    if (phase == null) {
      throw new IllegalArgumentException(MessageFormat.format(
          "Unknown phase in \"{0}\": {1}",
          flowId,
          phaseSymbol));
    }
    List<ExecutionScript> scriptsInPhase = loadScripts(flowId, phase, phaseContents);
    results.put(phase, scriptsInPhase);
    count += scriptsInPhase.size();
  }
  LOG.debug("Loaded {} execution scripts: {}*", count, getPrefix(flowId));
  return results;
}
origin: asakusafw/asakusafw

this.blockerIds = Collections.unmodifiableSet(new LinkedHashSet<>(blockerIds));
EnumMap<ExecutionPhase, Set<ExecutionScript>> map = new EnumMap<>(ExecutionPhase.class);
for (ExecutionPhase phase : ExecutionPhase.values()) {
  if (scripts.containsKey(phase)) {
    TreeSet<ExecutionScript> set = new TreeSet<>(SCRIPT_COMPARATOR);
origin: asakusafw/asakusafw

    true);
System.out.println("Phase name is one of:");
for (ExecutionPhase phase : ExecutionPhase.values()) {
  System.out.printf("    %s%n", phase.getSymbol());
com.asakusafw.yaess.coreExecutionPhasevalues

Popular methods of ExecutionPhase

  • getSymbol
    Returns the symbol of this phase. This symbol is used in ExecutionScripts.
  • findFromSymbol
    Returns an ExecutionPhase corresponded to the symbol.
  • name

Popular in Java

  • Reading from database using SQL prepared statement
  • setContentView (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setScale (BigDecimal)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Best IntelliJ 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