us.ihmc.rosidl.RosPackageDescription Maven / Gradle / Ivy
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 + "]";
}
}