diff options
author | James Moger <james.moger@gitblit.com> | 2013-11-20 15:26:24 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-11-29 11:05:51 -0500 |
commit | e24670533215141f7146349f782d3c4a2d3ee535 (patch) | |
tree | a1989fb93593ff2167493581fd509064eaa52c02 /src/main/java/com/gitblit/manager/IManager.java | |
parent | 32539684194f55a76ec171852f582bdafa4c5631 (diff) | |
download | gitblit-e24670533215141f7146349f782d3c4a2d3ee535.tar.gz gitblit-e24670533215141f7146349f782d3c4a2d3ee535.zip |
Extract RuntimeManager from GitBlit singleton
Change-Id: I5358389396f816da979ec18a31421c2d2b67b3d9
Diffstat (limited to 'src/main/java/com/gitblit/manager/IManager.java')
-rw-r--r-- | src/main/java/com/gitblit/manager/IManager.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/manager/IManager.java b/src/main/java/com/gitblit/manager/IManager.java new file mode 100644 index 00000000..955c6100 --- /dev/null +++ b/src/main/java/com/gitblit/manager/IManager.java @@ -0,0 +1,23 @@ +/* + * 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 { + + IManager setup(); + + IManager stop(); +} |