Interface PortMount

All Known Subinterfaces:
MutablePortMount

public interface PortMount
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    A PortMount has to have at least a root Mount, otherwise it is not a valid PortNumber and cannot be used.
  • Method Details

    • getPortNumber

      int getPortNumber()
      Returns:
      Returns the portnumber associated with this PortMount object.
    • getRootMount

      Mount getRootMount()
      A PortMount has to have at least a root Mount, otherwise it is not a valid PortNumber and cannot be used.
      Returns:
      the root Mount for this PortNumber object. When this PortMount has an invalid configured Mount or no Mount, null will be returned