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

COVERAGE SUMMARY FOR SOURCE FILE [StoppableJavaInitMetadata.java]

nameclass, %method, %block, %line, %
StoppableJavaInitMetadata.java0%   (0/1)0%   (0/5)0%   (0/53)0%   (0/10)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class StoppableJavaInitMetadata0%   (0/1)0%   (0/5)0%   (0/53)0%   (0/10)
StoppableJavaInitMetadata (String, String, URI, String, String, String, Strin... 0%   (0/1)0%   (0/41)0%   (0/6)
getStopArgs (): String [] 0%   (0/1)0%   (0/3)0%   (0/1)
getStopClass (): String 0%   (0/1)0%   (0/3)0%   (0/1)
getStopClasspath (): String [] 0%   (0/1)0%   (0/3)0%   (0/1)
getStopOpts (): 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 * A java process that has a graceful shutdown mechanism.
27 * 
28 * @see JavaInitMetadata
29 * @author Adrian Cole
30 */
31public class StoppableJavaInitMetadata extends JavaInitMetadata {
32   private final String[] stopClasspath;
33   private final String stopClass;
34   private final String[] stopOpts;
35   private final String[] stopArgs;
36 
37   public StoppableJavaInitMetadata(String name, String platformHome, URI endPoint,
38            String startDir, String stopDir, String configDir, String dataDir, String logDir,
39            String goldDir, String javaHome, String[] classpath, String mainClass, String[] opts,
40            String[] args, String[] stopClasspath, String stopClass, String[] stopOpts,
41            String[] stopArgs) {
42      super(name, platformHome, endPoint, startDir, stopDir, configDir, dataDir, logDir, goldDir,
43               javaHome, classpath, mainClass, opts, args);
44      this.stopClasspath = checkNotNull(stopClasspath, "stopClasspath");
45      this.stopClass = checkNotNull(stopClass, "stopClass");
46      this.stopOpts = checkNotNull(stopOpts, "stopOpts");
47      this.stopArgs = checkNotNull(stopArgs, "stopArgs");
48   }
49 
50   public String[] getStopClasspath() {
51      return stopClasspath;
52   }
53 
54   public String getStopClass() {
55      return stopClass;
56   }
57 
58   public String[] getStopOpts() {
59      return stopOpts;
60   }
61 
62   public String[] getStopArgs() {
63      return stopArgs;
64   }
65 
66}

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