Example usage for org.aspectj.ajdt.internal.core.builder AjState getLastBuildTime

List of usage examples for org.aspectj.ajdt.internal.core.builder AjState getLastBuildTime

Introduction

In this page you can find the example usage for org.aspectj.ajdt.internal.core.builder AjState getLastBuildTime.

Prototype

public long getLastBuildTime() 

Source Link

Document

Returns last time we did a full or incremental build.

Usage

From source file:org.eclipse.ajdt.core.builder.AJBuilder.java

License:Open Source License

private long getLastBuildTimeStamp(AjCompiler compiler) {
    AjState state = IncrementalStateManager.retrieveStateFor(compiler.getId());
    if (state != null) {
        return state.getLastBuildTime();
    } else {/*from w w w.jav  a2 s  .c om*/
        return 0;
    }
}