ada.platform/src/org/netbeans/api/ada/platform/AdaPlatform.java
author Andrea Lucarelli <raster@netbeans.org>
Sun, 22 Aug 2010 23:37:11 +0200
branchrelease68
changeset 16367 d2820c029d3a
parent 15779 367c7fdb5d23
permissions -rw-r--r--
Add JVM compiler support.
raster@14181
     1
/*
raster@14181
     2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
raster@14181
     3
 *
raster@14181
     4
 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
raster@14181
     5
 *
raster@14181
     6
 * The contents of this file are subject to the terms of either the GNU
raster@14181
     7
 * General Public License Version 2 only ("GPL") or the Common
raster@14181
     8
 * Development and Distribution License("CDDL") (collectively, the
raster@14181
     9
 * "License"). You may not use this file except in compliance with the
raster@14181
    10
 * License. You can obtain a copy of the License at
raster@14181
    11
 * http://www.netbeans.org/cddl-gplv2.html
raster@14181
    12
 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
raster@14181
    13
 * specific language governing permissions and limitations under the
raster@14181
    14
 * License.  When distributing the software, include this License Header
raster@14181
    15
 * Notice in each file and include the License file at
raster@14181
    16
 * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
raster@14181
    17
 * particular file as subject to the "Classpath" exception as provided
raster@14181
    18
 * by Sun in the GPL Version 2 section of the License file that
raster@14181
    19
 * accompanied this code. If applicable, add the following below the
raster@14181
    20
 * License Header, with the fields enclosed by brackets [] replaced by
raster@14181
    21
 * your own identifying information:
raster@14181
    22
 * "Portions Copyrighted [year] [name of copyright owner]"
raster@14181
    23
 *
raster@14181
    24
 * If you wish your version of this file to be governed by only the CDDL
raster@14181
    25
 * or only the GPL Version 2, indicate your decision by adding
raster@14181
    26
 * "[Contributor] elects to include this software in this distribution
raster@14181
    27
 * under the [CDDL or GPL Version 2] license." If you do not indicate a
raster@14181
    28
 * single choice of license, a recipient has the option to distribute
raster@14181
    29
 * your version of this file under either the CDDL, the GPL Version 2 or
raster@14181
    30
 * to extend the choice of license to its licensees as provided above.
raster@14181
    31
 * However, if you add GPL Version 2 code and therefore, elected the GPL
raster@14181
    32
 * Version 2 license, then the option applies only if the new code is
raster@14181
    33
 * made subject to such option by the copyright holder.
raster@14181
    34
 *
raster@14181
    35
 * Contributor(s):
raster@14181
    36
 *
raster@14181
    37
 * Portions Copyrighted 2008 Sun Microsystems, Inc.
raster@14181
    38
 */
raster@14181
    39
raster@14181
    40
package org.netbeans.api.ada.platform;
raster@14181
    41
raster@14181
    42
import java.io.File;
raster@14181
    43
import java.io.Serializable;
raster@14181
    44
import java.util.ArrayList;
raster@14181
    45
raster@14181
    46
/**
raster@14181
    47
 *
raster@14181
    48
 * @author Andrea Lucarelli
raster@14181
    49
 */
raster@14181
    50
public class AdaPlatform implements Serializable {
raster@14720
    51
raster@14181
    52
    private String name;
raster@14181
    53
    private String info;
raster@14181
    54
raster@14442
    55
    private String compilerPath;
raster@16367
    56
    private String gnatCompilerCommand;
raster@16367
    57
    private String gnatCompilerArgs;
raster@16367
    58
    private String jvmGnatCompilerCommand;
raster@16367
    59
    private String jvmGnatCompilerArgs;
raster@16367
    60
raster@16367
    61
    public String getJvmGnatCompilerArgs() {
raster@16367
    62
        return jvmGnatCompilerArgs;
raster@16367
    63
    }
raster@16367
    64
raster@16367
    65
    public void setJvmGnatCompilerArgs(String jvmGnatCompilerArgs) {
raster@16367
    66
        this.jvmGnatCompilerArgs = jvmGnatCompilerArgs;
raster@16367
    67
    }
raster@16367
    68
raster@16367
    69
    public String getJvmGnatCompilerCommand() {
raster@16367
    70
        return jvmGnatCompilerCommand;
raster@16367
    71
    }
raster@16367
    72
raster@16367
    73
    public void setJvmGnatCompilerCommand(String jvmGnatCompilerCommand) {
raster@16367
    74
        this.jvmGnatCompilerCommand = jvmGnatCompilerCommand;
raster@16367
    75
    }
raster@14181
    76
raster@14181
    77
    public AdaPlatform() {
raster@14181
    78
    }
raster@14181
    79
raster@16367
    80
    public String getGnatCompilerArgs() {
raster@16367
    81
        return gnatCompilerArgs;
raster@14181
    82
    }
raster@14181
    83
raster@16367
    84
    public void setGnatCompilerArgs(String gnatCompilerArgs) {
raster@16367
    85
        this.gnatCompilerArgs = gnatCompilerArgs;
raster@14181
    86
    }
raster@14181
    87
raster@16367
    88
    public String getGnatCompilerCommand() {
raster@16367
    89
        return gnatCompilerCommand;
raster@14181
    90
    }
raster@14181
    91
raster@16367
    92
    public void setGnatCompilerCommand(String gnatCompilerCommand) {
raster@16367
    93
        this.gnatCompilerCommand = gnatCompilerCommand;
raster@14698
    94
    }
raster@14698
    95
raster@14181
    96
    public String getName() {
raster@14181
    97
        return name;
raster@14181
    98
    }
raster@14181
    99
raster@14181
   100
    public void setName(String name) {
raster@14181
   101
        this.name = name;
raster@14181
   102
    }
raster@14181
   103
raster@14181
   104
    public String getInfo() {
raster@14181
   105
        return info;
raster@14181
   106
    }
raster@14181
   107
raster@14181
   108
    public void setInfo(String info) {
raster@14181
   109
        this.info = info;
raster@14181
   110
    }
raster@14181
   111
raster@14442
   112
    public String getCompilerPath() {
raster@14442
   113
        return compilerPath;
raster@14181
   114
    }
raster@14181
   115
raster@14442
   116
    public void setCompilerPath(String compilerPath) {
raster@14442
   117
        this.compilerPath = compilerPath;
raster@14181
   118
    }
raster@14181
   119
}