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

us.ihmc.rosidl.RosPackageDescription Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package us.ihmc.rosidl;

import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;

public class RosPackageDescription
{
   private final String packageName;
   private final Path packageDirectory;

   private List dotMsgFilePaths = new ArrayList<>();
   private List dotSrvFilePaths = new ArrayList<>();

   private List dependencies = new ArrayList<>();

   public RosPackageDescription(String packageName, Path packageDirectory)
   {
      this.packageName = packageName;
      this.packageDirectory = packageDirectory;
   }

   public List getMsgFilePaths()
   {
      return dotMsgFilePaths;
   }

   public List getSrvFilePaths()
   {
      return dotSrvFilePaths;
   }

   public List getDependencies()
   {
      return dependencies;
   }

   public Path getPackageDirectory()
   {
      return packageDirectory;
   }

   public String getPackageName()
   {
      return packageName;
   }

   @Override
   public String toString()
   {
      return "PackageDescription [packageName=" + packageName + ", root=" + packageDirectory + ", msg=" + dotMsgFilePaths + ", srv=" + dotSrvFilePaths
             + ", dependencies=" + dependencies + "]";
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy