EMMA Coverage Report (generated Mon Oct 17 05:41:20 EDT 2011)
[all classes][org.jclouds.scriptbuilder.domain]

COVERAGE SUMMARY FOR SOURCE FILE [JavaInitMetadata.java]

nameclass, %method, %block, %line, %
JavaInitMetadata.java0%   (0/1)0%   (0/6)0%   (0/57)0%   (0/12)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class JavaInitMetadata0%   (0/1)0%   (0/6)0%   (0/57)0%   (0/12)
JavaInitMetadata (String, String, URI, String, String, String, String, String... 0%   (0/1)0%   (0/42)0%   (0/7)
getArgs (): String [] 0%   (0/1)0%   (0/3)0%   (0/1)
getClasspath (): String [] 0%   (0/1)0%   (0/3)0%   (0/1)
getJavaHome (): String 0%   (0/1)0%   (0/3)0%   (0/1)
getMainClass (): String 0%   (0/1)0%   (0/3)0%   (0/1)
getOpts (): String [] 0%   (0/1)0%   (0/3)0%   (0/1)

1/**
2 * Licensed to jclouds, Inc. (jclouds) under one or more
3 * contributor license agreements.  See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership.  jclouds licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License.  You may obtain a copy of the License at
9 *
10 *   http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied.  See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19package org.jclouds.scriptbuilder.domain;
20 
21import static com.google.common.base.Preconditions.checkNotNull;
22 
23import java.net.URI;
24 
25/**
26 * Defines the environment of a java process that can be started in the background on an operating
27 * system.
28 * 
29 * @see InitMetadata
30 * @author Adrian Cole
31 */
32public class JavaInitMetadata extends InitMetadata {
33   private final String javaHome;
34   private final String[] classpath;
35   private final String mainClass;
36   private final String[] opts;
37   private final String[] args;
38 
39   public JavaInitMetadata(String name, String platformHome, URI endPoint, String startDir,
40            String stopDir, String configDir, String dataDir, String logDir, String goldDir,
41            String javaHome, String[] classpath, String mainClass, String[] opts, String[] args) {
42      super(name, platformHome, endPoint, startDir, stopDir, configDir, dataDir, logDir, goldDir);
43      this.javaHome = checkNotNull(javaHome, "javaHome");
44      this.classpath = checkNotNull(classpath, "classpath");
45      this.mainClass = checkNotNull(mainClass, "mainClass");
46      this.opts = checkNotNull(opts, "opts");
47      this.args = checkNotNull(args, "args");
48   }
49 
50   public String getJavaHome() {
51      return javaHome;
52   }
53 
54   public String[] getClasspath() {
55      return classpath;
56   }
57 
58   public String getMainClass() {
59      return mainClass;
60   }
61 
62   public String[] getOpts() {
63      return opts;
64   }
65 
66   public String[] getArgs() {
67      return args;
68   }
69 
70}

[all classes][org.jclouds.scriptbuilder.domain]
EMMA 2.0.5312 (C) Vladimir Roubtsov