All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jclouds.tools.ant.taskdefs.compute.NodeElement Maven / Gradle / Ivy

/**
 *
 * Copyright (C) 2010 Cloud Conscious, LLC. 
 *
 * ====================================================================
 * 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 org.jclouds.tools.ant.taskdefs.compute;

import java.io.File;

/**
 * @author Adrian Cole
 * @author Ivan Meredith
 */
public class NodeElement {
   private String id;
   private String group;
   private String hardware;
   private String os;
   private String image;
   private int count = 1;
   private String openports = "22";
   private String passwordproperty;
   private File privatekeyfile;
   private File publickeyfile;
   private String hostproperty;
   private String idproperty;
   private String usernameproperty;
   private String location;
   private File runscript;

   public String getLocation() {
      return location;
   }

   public void setLocation(String location) {
      this.location = location;
   }

   String getUsernameproperty() {
      return usernameproperty;
   }

   /**
    * The name of a property in which the username of the login user should be stored.
    * 
    */
   public void setUsernameproperty(String usernameproperty) {
      this.usernameproperty = usernameproperty;
   }

   String getPasswordproperty() {
      return passwordproperty;
   }

   /**
    * The name of a property in which the password of the login user should be stored.
    * 
    */
   public void setPasswordproperty(String passwordproperty) {
      this.passwordproperty = passwordproperty;
   }

   /**
    * The name of a property in which the hostname of the machine should be stored
    * 
    */
   public void setHostproperty(String hostproperty) {
      this.hostproperty = hostproperty;
   }

   String getHostproperty() {
      return hostproperty;
   }

   /**
    * The name of a property in which the id of the machine should be stored
    * 
    */
   public void setIdproperty(String idproperty) {
      this.idproperty = idproperty;
   }

   String getIdproperty() {
      return idproperty;
   }


   public void setHardware(String hardware) {
      this.hardware = hardware;
   }

   public String getHardware() {
      return hardware;
   }

   public void setOs(String os) {
      this.os = os;
   }

   public String getOs() {
      return os;
   }

   public void setRunscript(File runscript) {
      this.runscript = runscript;
   }

   public File getRunscript() {
      return runscript;
   }

   public void setOpenports(String openports) {
      this.openports = openports;
   }

   public String getOpenports() {
      return openports;
   }

   public void setImage(String image) {
      this.image = image;
   }

   public String getImage() {
      return image;
   }

   public void setCount(int count) {
      this.count = count;
   }

   public int getCount() {
      return count;
   }

   public void setGroup(String group) {
      this.group = group;
   }

   public String getGroup() {
      return group;
   }

   public void setPrivatekeyfile(File privatekeyfile) {
      this.privatekeyfile = privatekeyfile;
   }

   public File getPrivatekeyfile() {
      return privatekeyfile;
   }

   public void setPublickeyfile(File publickeyfile) {
      this.publickeyfile = publickeyfile;
   }

   public File getPublickeyfile() {
      return publickeyfile;
   }

   public void setId(String id) {
      this.id = id;
   }

   public String getId() {
      return id;
   }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy