Mercurial > hg > tc-symbol-server
diff agent/src/jetbrains/buildServer/symbols/tools/PdbStrExeCommands.java @ 27:76ed2d58c871
- reused home path between all srcsrv-related utilities
- extracted JetSymbols utility class
author | Evgeniy.Koshkin |
---|---|
date | Wed, 07 Aug 2013 18:37:23 +0400 |
parents | agent/src/jetbrains/buildServer/symbols/PdbStrExeCommand.java@662a0be55de7 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/agent/src/jetbrains/buildServer/symbols/tools/PdbStrExeCommands.java Wed Aug 07 18:37:23 2013 +0400 @@ -0,0 +1,37 @@ +/* + * Copyright 2000-2013 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 jetbrains.buildServer.symbols.tools; + +/** + * @author Evgeniy.Koshkin + */ +public enum PdbStrExeCommands { + READ { + @Override + public String getCmdSwitch() { + return "-r"; + } + }, + WRITE { + @Override + public String getCmdSwitch() { + return "-w"; + } + }; + + public abstract String getCmdSwitch(); +}