Java 类org.gradle.api.logging.LoggingManager 实例源码

项目:Reer    文件:DefaultScript.java   
@Override
public void init(final Object target, ServiceRegistry services) {
    super.init(target, services);
    this.__scriptServices = services;
    loggingManager = services.get(LoggingManager.class);
    Instantiator instantiator = services.get(Instantiator.class);
    FileLookup fileLookup = services.get(FileLookup.class);
    DirectoryFileTreeFactory directoryFileTreeFactory = services.get(DirectoryFileTreeFactory.class);
    if (target instanceof FileOperations) {
        fileOperations = (FileOperations) target;
    } else {
        File sourceFile = getScriptSource().getResource().getLocation().getFile();
        if (sourceFile != null) {
            fileOperations = new DefaultFileOperations(fileLookup.getFileResolver(sourceFile.getParentFile()), null, null, instantiator, fileLookup, directoryFileTreeFactory);
        } else {
            fileOperations = new DefaultFileOperations(fileLookup.getFileResolver(), null, null, instantiator, fileLookup, directoryFileTreeFactory);
        }
    }

    processOperations = (ProcessOperations) fileOperations;
}
项目:Pushjet-Android    文件:DefaultScript.java   
public void init(final Object target, ServiceRegistry services) {
    super.init(target, services);
    this.__scriptServices = services;
    loggingManager = services.get(LoggingManager.class);
    Instantiator instantiator = services.get(Instantiator.class);
    FileLookup fileLookup = services.get(FileLookup.class);
    if (target instanceof FileOperations) {
        fileOperations = (FileOperations) target;
    } else if (getScriptSource().getResource().getFile() != null) {
        fileOperations = new DefaultFileOperations(fileLookup.getFileResolver(getScriptSource().getResource().getFile().getParentFile()), null, null, instantiator, fileLookup);
    } else {
        fileOperations = new DefaultFileOperations(fileLookup.getFileResolver(), null, null, instantiator, fileLookup);
    }

    processOperations = (ProcessOperations) fileOperations;
}
项目:Pushjet-Android    文件:DefaultScript.java   
public void init(final Object target, ServiceRegistry services) {
    super.init(target, services);
    this.__scriptServices = services;
    loggingManager = services.get(LoggingManager.class);
    Instantiator instantiator = services.get(Instantiator.class);
    FileLookup fileLookup = services.get(FileLookup.class);
    if (target instanceof FileOperations) {
        fileOperations = (FileOperations) target;
    } else if (getScriptSource().getResource().getFile() != null) {
        fileOperations = new DefaultFileOperations(fileLookup.getFileResolver(getScriptSource().getResource().getFile().getParentFile()), null, null, instantiator, fileLookup);
    } else {
        fileOperations = new DefaultFileOperations(fileLookup.getFileResolver(), null, null, instantiator, fileLookup);
    }

    processOperations = (ProcessOperations) fileOperations;
}
项目:Reer    文件:ProjectScript.java   
public LoggingManager getLogging() {
    return getScriptTarget().getLogging();
}
项目:Reer    文件:DefaultScript.java   
@Override
public LoggingManager getLogging() {
    return loggingManager;
}
项目:Pushjet-Android    文件:DefaultScript.java   
public LoggingManager getLogging() {
    return loggingManager;
}
项目:Pushjet-Android    文件:AbstractProject.java   
public LoggingManager getLogging() {
    return loggingManager;
}
项目:Pushjet-Android    文件:AbstractTask.java   
public LoggingManager getLogging() {
    return loggingManager;
}
项目:Pushjet-Android    文件:DefaultScript.java   
public LoggingManager getLogging() {
    return loggingManager;
}
项目:okbuck    文件:TransformInvocationBuilder.java   
@Override
public LoggingManager getLogging() {
    throw new UnsupportedOperationException();
}
项目:Reer    文件:Task.java   
/**
 * Returns the {@link org.gradle.api.logging.LoggingManager} which can be used to control the logging level and
 * standard output/error capture for this task. By default, System.out is redirected to the Gradle logging system at
 * the QUIET log level, and System.err is redirected at the ERROR log level.
 *
 * @return the LoggingManager. Never returns null.
 */
LoggingManager getLogging();
项目:Reer    文件:Script.java   
/**
 * Returns the {@link org.gradle.api.logging.LoggingManager} which can be used to control the logging level and
 * standard output/error capture for this script. By default, System.out is redirected to the Gradle logging system
 * at the QUIET log level, and System.err is redirected at the ERROR log level.
 *
 * @return the LoggingManager. Never returns null.
 */
LoggingManager getLogging();
项目:Reer    文件:Project.java   
/**
 * Returns the {@link org.gradle.api.logging.LoggingManager} which can be used to control the logging level and
 * standard output/error capture for this project's build script. By default, System.out is redirected to the Gradle
 * logging system at the QUIET log level, and System.err is redirected at the ERROR log level.
 *
 * @return the LoggingManager. Never returns null.
 */
LoggingManager getLogging();
项目:Pushjet-Android    文件:Task.java   
/**
 * Returns the {@link org.gradle.api.logging.LoggingManager} which can be used to control the logging level and
 * standard output/error capture for this task. By default, System.out is redirected to the Gradle logging system at
 * the QUIET log level, and System.err is redirected at the ERROR log level.
 *
 * @return the LoggingManager. Never returns null.
 */
LoggingManager getLogging();
项目:Pushjet-Android    文件:Script.java   
/**
 * Returns the {@link org.gradle.api.logging.LoggingManager} which can be used to control the logging level and
 * standard output/error capture for this script. By default, System.out is redirected to the Gradle logging system
 * at the QUIET log level, and System.err is redirected at the ERROR log level.
 *
 * @return the LoggingManager. Never returns null.
 */
LoggingManager getLogging();
项目:Pushjet-Android    文件:Project.java   
/**
 * Returns the {@link org.gradle.api.logging.LoggingManager} which can be used to control the logging level and
 * standard output/error capture for this project's build script. By default, System.out is redirected to the Gradle
 * logging system at the QUIET log level, and System.err is redirected at the ERROR log level.
 *
 * @return the LoggingManager. Never returns null.
 */
LoggingManager getLogging();
项目:Pushjet-Android    文件:Task.java   
/**
 * Returns the {@link org.gradle.api.logging.LoggingManager} which can be used to control the logging level and
 * standard output/error capture for this task. By default, System.out is redirected to the Gradle logging system at
 * the QUIET log level, and System.err is redirected at the ERROR log level.
 *
 * @return the LoggingManager. Never returns null.
 */
LoggingManager getLogging();
项目:Pushjet-Android    文件:Script.java   
/**
 * Returns the {@link org.gradle.api.logging.LoggingManager} which can be used to control the logging level and
 * standard output/error capture for this script. By default, System.out is redirected to the Gradle logging system
 * at the QUIET log level, and System.err is redirected at the ERROR log level.
 *
 * @return the LoggingManager. Never returns null.
 */
LoggingManager getLogging();
项目:Pushjet-Android    文件:Project.java   
/**
 * Returns the {@link org.gradle.api.logging.LoggingManager} which can be used to control the logging level and
 * standard output/error capture for this project's build script. By default, System.out is redirected to the Gradle
 * logging system at the QUIET log level, and System.err is redirected at the ERROR log level.
 *
 * @return the LoggingManager. Never returns null.
 */
LoggingManager getLogging();