Enum IStreamViewMapping.PathType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<IStreamViewMapping.PathType>
    Enclosing interface:
    IStreamViewMapping

    public static enum IStreamViewMapping.PathType
    extends java.lang.Enum<IStreamViewMapping.PathType>
    Defines the possible path types.

    share: <view_path> will be included in client views and in branch views. Files in this path are accessible to workspaces, can be submitted to the stream, and can be integrated with the parent stream.

    isolate: <view_path> will be included in client views but not in branch views. Files in this path are accessible to workspaces, can be submitted to the stream, but are not integratable with the parent stream.

    import: <view_path> will be included in client views but not in branch views. Files in this path are mapped as in the parent stream's view (the default) or to <depot_path> (optional); they are accessible to workspaces, but can not be submitted or integrated to the stream.

    exclude: <view_path> will be excluded from client views and branch views. Files in this path are not accessible to workspaces, and can't be submitted or integrated to the stream.

    • Method Detail

      • values

        public static IStreamViewMapping.PathType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (IStreamViewMapping.PathType c : IStreamViewMapping.PathType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IStreamViewMapping.PathType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public java.lang.String getValue()
      • fromString

        public static IStreamViewMapping.PathType fromString​(java.lang.String str)
        Return a suitable Path type as inferred from the passed-in string, which is assumed to be the string form of a Path type. Otherwise return the UNKNOWN type
        Parameters:
        str - str
        Returns:
        PathType