org.codehaus.groovy.tools.shell.IO.getVerbosity()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(4.2k)|赞(0)|评价(0)|浏览(118)

本文整理了Java中org.codehaus.groovy.tools.shell.IO.getVerbosity()方法的一些代码示例,展示了IO.getVerbosity()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。IO.getVerbosity()方法的具体详情如下:
包路径:org.codehaus.groovy.tools.shell.IO
类名称:IO
方法名:getVerbosity

IO.getVerbosity介绍

[英]Returns the verbosity level.
[中]返回详细级别。

代码示例

代码示例来源:origin: org.codehaus.groovy/groovy

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#DEBUG}.
  3. *
  4. * <p>For general usage, when debug output is required, it is better
  5. * to use the logging facility instead.
  6. */
  7. public boolean isDebug() {
  8. return getVerbosity() == Verbosity.DEBUG;
  9. }

代码示例来源:origin: org.codehaus.groovy/groovy

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#VERBOSE}.
  3. */
  4. public boolean isVerbose() {
  5. return getVerbosity() == Verbosity.VERBOSE;
  6. }

代码示例来源:origin: org.codehaus.groovy/groovy

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#QUIET}.
  3. */
  4. public boolean isQuiet() {
  5. return getVerbosity() == Verbosity.QUIET;
  6. }

代码示例来源:origin: org.codehaus.groovy/groovy

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#INFO}.
  3. */
  4. public boolean isInfo() {
  5. return getVerbosity() == Verbosity.INFO;
  6. }

代码示例来源:origin: org.codehaus.groovy/groovy-all-minimal

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#VERBOSE}.
  3. */
  4. public boolean isVerbose() {
  5. return getVerbosity() == Verbosity.VERBOSE;
  6. }

代码示例来源:origin: org.codehaus.groovy/groovy-all-minimal

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#DEBUG}.
  3. *
  4. * <p>For generaly usage, when debug output is required, it is better
  5. * to use the logging facility instead.
  6. */
  7. public boolean isDebug() {
  8. return getVerbosity() == Verbosity.DEBUG;
  9. }

代码示例来源:origin: com.thinkaurelius.groovy-shaded-asm/groovy-shaded-asm

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#INFO}.
  3. */
  4. public boolean isInfo() {
  5. return getVerbosity() == Verbosity.INFO;
  6. }

代码示例来源:origin: com.thinkaurelius.groovy-shaded-asm/groovy-shaded-asm

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#VERBOSE}.
  3. */
  4. public boolean isVerbose() {
  5. return getVerbosity() == Verbosity.VERBOSE;
  6. }

代码示例来源:origin: org.kohsuke.droovy/groovy

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#QUIET}.
  3. */
  4. public boolean isQuiet() {
  5. return getVerbosity() == Verbosity.QUIET;
  6. }

代码示例来源:origin: org.codehaus.groovy/groovy-jdk14

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#QUIET}.
  3. */
  4. public boolean isQuiet() {
  5. return getVerbosity() == Verbosity.QUIET;
  6. }

代码示例来源:origin: org.kohsuke.droovy/groovy

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#INFO}.
  3. */
  4. public boolean isInfo() {
  5. return getVerbosity() == Verbosity.INFO;
  6. }

代码示例来源:origin: org.kohsuke.droovy/groovy

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#DEBUG}.
  3. *
  4. * <p>For generaly usage, when debug output is required, it is better
  5. * to use the logging facility instead.
  6. */
  7. public boolean isDebug() {
  8. return getVerbosity() == Verbosity.DEBUG;
  9. }

代码示例来源:origin: org.codehaus.groovy/groovy-all-minimal

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#INFO}.
  3. */
  4. public boolean isInfo() {
  5. return getVerbosity() == Verbosity.INFO;
  6. }

代码示例来源:origin: com.thinkaurelius.groovy-shaded-asm/groovy-shaded-asm

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#QUIET}.
  3. */
  4. public boolean isQuiet() {
  5. return getVerbosity() == Verbosity.QUIET;
  6. }

代码示例来源:origin: org.kohsuke.droovy/groovy

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#VERBOSE}.
  3. */
  4. public boolean isVerbose() {
  5. return getVerbosity() == Verbosity.VERBOSE;
  6. }

代码示例来源:origin: org.codehaus.groovy/groovy-jdk14

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#INFO}.
  3. */
  4. public boolean isInfo() {
  5. return getVerbosity() == Verbosity.INFO;
  6. }

代码示例来源:origin: org.codehaus.groovy/groovy-jdk14

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#VERBOSE}.
  3. */
  4. public boolean isVerbose() {
  5. return getVerbosity() == Verbosity.VERBOSE;
  6. }

代码示例来源:origin: org.codehaus.groovy/groovy-all-minimal

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#QUIET}.
  3. */
  4. public boolean isQuiet() {
  5. return getVerbosity() == Verbosity.QUIET;
  6. }

代码示例来源:origin: com.thinkaurelius.groovy-shaded-asm/groovy-shaded-asm

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#DEBUG}.
  3. *
  4. * <p>For general usage, when debug output is required, it is better
  5. * to use the logging facility instead.
  6. */
  7. public boolean isDebug() {
  8. return getVerbosity() == Verbosity.DEBUG;
  9. }

代码示例来源:origin: org.codehaus.groovy/groovy-jdk14

  1. /**
  2. * Check if the verbosity level is set to {@link Verbosity#DEBUG}.
  3. *
  4. * <p>For generaly usage, when debug output is required, it is better
  5. * to use the logging facility instead.
  6. */
  7. public boolean isDebug() {
  8. return getVerbosity() == Verbosity.DEBUG;
  9. }

相关文章