package com.github.aureliano.achmed.os.service;

import com.github.aureliano.achmed.command.CommandResponse;

public interface IService {

	public abstract CommandResponse start();
	
	public abstract CommandResponse stop();
	
	public abstract CommandResponse restart();
	
	public abstract boolean isRunning();
	
	public abstract CommandResponse enableBootstrap();
	
	public abstract CommandResponse disableBootstrap();
}
package com.github.aureliano.achmed.os.service;

import com.github.aureliano.achmed.command.CommandResponse;
import com.github.aureliano.achmed.resources.properties.ServiceProperties;

public interface IService {

	public abstract CommandResponse start();
	
	public abstract CommandResponse stop();
	
	public abstract CommandResponse restart();
	
	public abstract boolean isRunning();
	
	public abstract CommandResponse enableBootstrap();
	
	public abstract CommandResponse disableBootstrap();
	
	public abstract void setServiceProperties(ServiceProperties properties);
	
	public abstract ServiceProperties getServiceProperties();
}
Add methods to set and get properties.
Add methods to set and get properties.
