Skip to content

Instantly share code, notes, and snippets.

@narendly
Created July 16, 2018 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save narendly/4203d4fbed4db8a902196860cdda66ee to your computer and use it in GitHub Desktop.
Save narendly/4203d4fbed4db8a902196860cdda66ee to your computer and use it in GitHub Desktop.
Task implementation by Espresso
public class BackupTask implements Task {
String _partition;
BackupTask(String partition) {
_partition = partition
}
@Override
TaskResult run() {
backup(_partition);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment