ruboto/ruboto

View on GitHub
assets/app/src/main/java/RubotoService.java

Summary

Maintainability
A
0 mins
Test Coverage
package THE_PACKAGE;

import org.ruboto.Script;
import org.ruboto.ScriptLoader;
import java.io.IOException;

public class THE_RUBOTO_CLASS THE_ACTION THE_ANDROID_CLASS {
    /**
     * Called at the start of onCreate() to prepare the Activity.
     */
    private void preOnCreate() {
        if (!getClass().getSimpleName().equals("RubotoService")) {
          System.out.println("RubotoService preOnCreate(): " + getClass().getName());
          getScriptInfo().setRubyClassName(getClass().getSimpleName());
          JRubyAdapter.setUpJRuby(this);
        }
    }

    private void preOnStartCommand(android.content.Intent intent) {
        if (getClass().getSimpleName().equals("RubotoService")) {
          System.out.println("RubotoService preOnStartCommand(): " + getClass().getName());
          scriptInfo.setFromIntent(intent);
        }
    }

    private void preOnBind(android.content.Intent intent) {
        if (getClass().getSimpleName().equals("RubotoService")) {
          System.out.println("RubotoService preOnBind(): " + getClass().getName());
          scriptInfo.setFromIntent(intent);
        }
    }

THE_METHODS

}