Class EntitySelector

    • Method Detail

      • getEntities

        public @NonNull List<@NonNull EntitygetEntities()
        Get the resulting entities
        Returns:
        Immutable view of the list list of entities resulting from parsing the entity selector
      • getSelector

        public @NonNull String getSelector()
        Get the input String for this selector
        Returns:
        The input String for this selector
      • hasAny

        public boolean hasAny()
        Check whether the selector selected at least one entity
        Returns:
        true if at least one entity was selected, else false