@@ -0,0 +1,1251 @@
+/**%0A * Copyright (c) 2009 Sonatype, Inc. All rights reserved.%0A *%0A * This program is licensed to you under the Apache License Version 2.0,%0A * and you may not use this file except in compliance with the Apache License Version 2.0.%0A * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.%0A *%0A * Unless required by applicable law or agreed to in writing,%0A * software distributed under the Apache License Version 2.0 is distributed on an%0A * %22AS IS%22 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.%0A */%0Apackage org.sonatype.nexus.plugins;%0A%0Apublic enum PluginActivationRequest%0A%7B%0A    ACTIVATE%0A    %7B%0A        @Override%0A        public boolean isSuccessful( final PluginActivationResult result )%0A        %7B%0A            return result == PluginActivationResult.ACTIVATED;%0A        %7D%0A    %7D,%0A    DEACTIVATE%0A    %7B%0A        @Override%0A        public boolean isSuccessful( final PluginActivationResult result )%0A        %7B%0A            return result == PluginActivationResult.DEACTIVATED;%0A        %7D%0A    %7D;%0A%0A    abstract boolean isSuccessful( final PluginActivationResult result );%0A%7D

add request enum