com.android.builder.model
Interface InstantRun


public interface InstantRun

Model for InstantRun related information.


Method Summary
 java.lang.String getIncrementalAssembleTaskName()
          Returns the name of the task used to generate the incremental .dex files from the last build.
 java.io.File getInfoFile()
          Returns the last incremental build information, including success or failure, verifier reason for requesting a restart, etc...
 boolean isSupportedByArtifact()
          Whether the owner artifact supports Instant Run.
 

Method Detail

getIncrementalAssembleTaskName

@NonNull
java.lang.String getIncrementalAssembleTaskName()
Returns the name of the task used to generate the incremental .dex files from the last build.


getInfoFile

@NonNull
java.io.File getInfoFile()
Returns the last incremental build information, including success or failure, verifier reason for requesting a restart, etc...

Returns:
a file location, possibly not existing.

isSupportedByArtifact

boolean isSupportedByArtifact()
Whether the owner artifact supports Instant Run. This may depend on the toolchain used.