Examples of rm()


Examples of org.platformlayer.ops.OpsTarget.rm()

public class ApacheBootstrap extends OpsTreeBase {
  @Handler
  public void handler() throws OpsException {
    OpsTarget target = OpsContext.get().getInstance(OpsTarget.class);

    target.rm(new File("/etc/apache2/sites-enabled/000-default"));
  }

  public static ApacheBootstrap build() {
    ApacheBootstrap apacheModule = Injection.getInstance(ApacheBootstrap.class);
    return apacheModule;
View Full Code Here

Examples of org.platformlayer.ops.OpsTarget.rm()

  @Handler
  public void handler() throws OpsException {
    OpsTarget target = OpsContext.get().getInstance(OpsTarget.class);

    target.rm(new File("/etc/nginx/sites-enabled/default"));
  }

  public static NginxServerBootstrap build() {
    return Injection.getInstance(NginxServerBootstrap.class);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.