org.gradle.api.tasks.Internal类的使用及代码示例

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

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

Internal介绍

暂无

代码示例

代码示例来源:origin: org.gradle/gradle-core

/**
 * A more efficient version of {@link #getActions()}, which circumvents the
 * validating change listener that normally prevents users from changing tasks
 * once they start executing.
 */
@Internal
List<ContextAwareTaskAction> getTaskActions();

代码示例来源:origin: gradle.plugin.com.google.cloud.tools/jib-gradle-plugin

@Internal
@Override
public String getAuthDescriptor() {
 return source;
}

代码示例来源:origin: gradle.plugin.ca.coglinc2/javacc-gradle-plugin

@Internal
  protected Configuration getClasspath() {
    return classpath;
  }
}

代码示例来源:origin: gradle.plugin.com.fizzed/rocker-gradle-plugin

/**
 * @return the templateDirs
 */
@Internal // Not really, handled programmatically as there is no @InputDirectories 
public Set<File> getTemplateDirs() {
  return templateDirs;
}

代码示例来源:origin: linkedin/pygradle

@Internal
  @Override
  public String getReason() {
    return output;
  }
}

代码示例来源:origin: linkedin/pygradle

@Internal
@Override
public String getReason() {
  return lastMessage;
}

代码示例来源:origin: org.gradle/gradle-core

/**
 * Returns the appendix part of the archive name, if any.
 *
 * @return the appendix. May be null
 */
@Internal("Represented as part of archiveName")
public String getAppendix() {
  return appendix;
}

代码示例来源:origin: org.gradle/gradle-core

/**
 * Returns the classifier part of the archive name, if any.
 *
 * @return The classifier. May be null.
 */
@Internal("Represented as part of archiveName")
public String getClassifier() {
  return classifier;
}

代码示例来源:origin: gradle.plugin.com.github.spotbugs/gradlePlugin

/**
 * Whether or not SpotBugs should generate XML augmented with human-readable messages.
 * You should use this format if you plan to generate a report using an XSL stylesheet.
 * <p>
 * If {@code true}, SpotBugs will augment the XML with human-readable messages.
 * If {@code false}, SpotBugs will not augment the XML with human-readable messages.
 *
 * @return Whether or not SpotBugs should generate XML augmented with human-readable messages.
 */
@Internal
boolean isWithMessages();

代码示例来源:origin: org.gosu-lang.gosu/gradle-gosu-plugin

/**
 * Annotating as @Input or @InputFiles causes errors in Guidewire applications, even when paired with @Optional.
 * Marking as @Internal instead to skip warning thrown by :validateTaskProperties (org.gradle.plugin.devel.tasks.ValidateTaskProperties)
 * @return a Closure returning a classpath to be passed to the GosuCompile task
 */
@Internal
public Closure<FileCollection> getOrderClasspath() {
 return _orderClasspath;
}

代码示例来源:origin: gradle.plugin.me.seeber.gradle/gradle-project-config

/**
 * Get the UI preferences
 *
 * @return UI preferences
 */
@Internal
public @Nullable EclipseUi getUi() {
  return this.ui;
}

代码示例来源:origin: gradle.plugin.me.seeber.gradle/gradle-bintray-config

/**
 * Get the Bintray user
 *
 * @return Bintray user
 */
@Internal
public @Nullable String getBintrayUser() {
  return this.bintrayUser;
}

代码示例来源:origin: gradle.plugin.me.seeber.gradle/gradle-bintray-config

/**
 * Get the Bintray password
 *
 * @return Bintray password
 */
@Internal
public @Nullable String getBintrayPassword() {
  return this.bintrayPassword;
}

代码示例来源:origin: me.seeber.gradle/gradle-bintray-config

/**
 * Get the Bintray user
 *
 * @return Bintray user
 */
@Internal
public @Nullable String getBintrayUser() {
  return this.bintrayUser;
}

代码示例来源:origin: gradle.plugin.com.google.cloud.tools/jib-gradle-plugin

@Internal
public Path getPath() {
 // Gradle warns about @Input annotations on File objects, so we have to expose a getter for a
 // String to make them go away.
 if (System.getProperty(PropertyNames.EXTRA_DIRECTORY_PATH) != null) {
  return Paths.get(System.getProperty(PropertyNames.EXTRA_DIRECTORY_PATH));
 }
 return path;
}

代码示例来源:origin: linkedin/pygradle

@Override
  @Internal
  public String getReason() {
    return container.getCommandOutput();
  }
}

代码示例来源:origin: linkedin/pygradle

/**
 * Use {@link AbstractPythonMainSourceDefaultTask#getPythonExtension()} instead.
 */
@Internal
@Deprecated
public PythonExtension getComponent() {
  return getPythonExtension();
}

代码示例来源:origin: org.gradle/gradle-core

/**
 * {@inheritDoc}
 */
@Internal
public InputStream getStandardInput() {
  return javaExecHandleBuilder.getStandardInput();
}

代码示例来源:origin: org.gradle/gradle-core

/**
   * {@inheritDoc}
   */
  @Internal
  public List<String> getCommandLine() {
    return javaExecHandleBuilder.getCommandLine();
  }
}

代码示例来源:origin: org.gradle/gradle-core

/**
 * {@inheritDoc}
 */
@Internal
public OutputStream getStandardOutput() {
  return execAction.getStandardOutput();
}

相关文章

Internal类方法