blob: c2ed867d2a5da12c0f3ac994e644347d82236a4e [file] [log] [blame]
/*
* Copyright 2000-2010 JetBrains s.r.o.
*
* 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.intellij.facet.frameworks.actions;
import com.intellij.openapi.util.Pair;
import org.jetbrains.annotations.NotNull;
public class GetVersionInfoAction extends AbstractAction {
private GetVersionInfoAction(@NotNull String id, @NotNull String version) {
super(Pair.create("id", id), Pair.create("version", version));
}
public static GetVersionInfoAction create(@NotNull String id, @NotNull String version) {
return new GetVersionInfoAction(id, version);
}
@NotNull
@Override
public String getActionName() {
return "GetInfo.action";
}
}