EMMA Coverage Report (generated Wed Jun 22 19:47:49 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 *
3 * Copyright (C) 2011 Cloud Conscious, LLC. <info@cloudconscious.com>
4 *
5 * ====================================================================
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * 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, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 * ====================================================================
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