Java 类org.gradle.api.artifacts.ResolvedConfiguration 实例源码

项目:Reer    文件:ErrorHandlingConfigurationResolver.java   
@Override
public void resolveArtifacts(ConfigurationInternal configuration, ResolverResults results) throws ResolveException {
    try {
        delegate.resolveArtifacts(configuration, results);
    } catch (Throwable e) {
        BrokenResolvedConfiguration broken = new BrokenResolvedConfiguration(e, configuration);
        results.artifactsResolved(broken, broken);
        return;
    }

    ResolvedConfiguration wrappedConfiguration = new ErrorHandlingResolvedConfiguration(results.getResolvedConfiguration(), configuration);
    results.artifactsResolved(wrappedConfiguration, results.getVisitedArtifacts());
}
项目:Reer    文件:ErrorHandlingConfigurationResolver.java   
public ErrorHandlingResolvedConfiguration(ResolvedConfiguration resolvedConfiguration,
                                          ConfigurationInternal configuration) {
    this.resolvedConfiguration = resolvedConfiguration;
    this.configuration = configuration;
}
项目:Reer    文件:DefaultConfiguration.java   
public ResolvedConfiguration getResolvedConfiguration() {
    resolveToStateOrLater(ARTIFACTS_RESOLVED);
    return cachedResolverResults.getResolvedConfiguration();
}
项目:Reer    文件:DefaultResolverResults.java   
@Override
public ResolvedConfiguration getResolvedConfiguration() {
    assertHasArtifactResult();
    return resolvedConfiguration;
}
项目:Reer    文件:DefaultResolverResults.java   
@Override
public void artifactsResolved(ResolvedConfiguration resolvedConfiguration, VisitedArtifactSet visitedArtifacts) {
    this.resolvedConfiguration = resolvedConfiguration;
    this.visitedArtifacts = visitedArtifacts;
    this.artifactResolveState = null;
}
项目:Pushjet-Android    文件:ResolverResults.java   
public ResolvedConfiguration getResolvedConfiguration() {
    assertHasResult();
    return resolvedConfiguration;
}
项目:Pushjet-Android    文件:ResolverResults.java   
public void withResolvedConfiguration(ResolvedConfiguration resolvedConfiguration) {
    this.resolvedConfiguration = resolvedConfiguration;
}
项目:Pushjet-Android    文件:ResolverResults.java   
public void resolved(ResolvedConfiguration resolvedConfiguration, ResolutionResult resolutionResult) {
    this.resolvedConfiguration = resolvedConfiguration;
    this.resolutionResult = resolutionResult;
    this.fatalFailure = null;
}
项目:Pushjet-Android    文件:ResolverResults.java   
public void failed(ResolvedConfiguration resolvedConfiguration, ResolveException failure) {
    this.resolvedConfiguration = resolvedConfiguration;
    this.resolutionResult = null;
    this.fatalFailure = failure;
}
项目:Pushjet-Android    文件:ResolverResults.java   
public ResolvedConfiguration getResolvedConfiguration() {
    assertHasResult();
    return resolvedConfiguration;
}
项目:Pushjet-Android    文件:ResolverResults.java   
public void withResolvedConfiguration(ResolvedConfiguration resolvedConfiguration) {
    this.resolvedConfiguration = resolvedConfiguration;
}
项目:Pushjet-Android    文件:ResolverResults.java   
public void resolved(ResolvedConfiguration resolvedConfiguration, ResolutionResult resolutionResult) {
    this.resolvedConfiguration = resolvedConfiguration;
    this.resolutionResult = resolutionResult;
    this.fatalFailure = null;
}
项目:Pushjet-Android    文件:ResolverResults.java   
public void failed(ResolvedConfiguration resolvedConfiguration, ResolveException failure) {
    this.resolvedConfiguration = resolvedConfiguration;
    this.resolutionResult = null;
    this.fatalFailure = failure;
}
项目:Reer    文件:ResolverResults.java   
/**
 * Returns the old model, slowly being replaced by the new model represented by {@link ResolutionResult}. Requires artifacts to be resolved.
 */
ResolvedConfiguration getResolvedConfiguration();
项目:Reer    文件:ResolverResults.java   
/**
 * Marks artifact resolution as successful, clearing state provided by {@link #retainState(Object)}.
 */
void artifactsResolved(ResolvedConfiguration resolvedConfiguration, VisitedArtifactSet visitedArtifacts);