/*
 * Copyright 2013 gitblit.com.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.gitblit.manager;

public interface IManager {

	/**
	 * Start the manager.
	 *
	 * @return the manager
 	 * @since 1.4.0
	 */
	IManager start();

	/**
	 * Stop the manager.
	 *
	 * @return the manager
 	 * @since 1.4.0
	 */
	IManager stop();

}
