Class Node

    • Method Detail

      • type

        public final NodeType type()

        The type of Glue component represented by the node.

        If the service returns an enum value that is not available in the current SDK version, type will return NodeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The type of Glue component represented by the node.
        See Also:
        NodeType
      • typeAsString

        public final String typeAsString()

        The type of Glue component represented by the node.

        If the service returns an enum value that is not available in the current SDK version, type will return NodeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The type of Glue component represented by the node.
        See Also:
        NodeType
      • name

        public final String name()

        The name of the Glue component represented by the node.

        Returns:
        The name of the Glue component represented by the node.
      • uniqueId

        public final String uniqueId()

        The unique Id assigned to the node within the workflow.

        Returns:
        The unique Id assigned to the node within the workflow.
      • triggerDetails

        public final TriggerNodeDetails triggerDetails()

        Details of the Trigger when the node represents a Trigger.

        Returns:
        Details of the Trigger when the node represents a Trigger.
      • jobDetails

        public final JobNodeDetails jobDetails()

        Details of the Job when the node represents a Job.

        Returns:
        Details of the Job when the node represents a Job.
      • crawlerDetails

        public final CrawlerNodeDetails crawlerDetails()

        Details of the crawler when the node represents a crawler.

        Returns:
        Details of the crawler when the node represents a crawler.
      • serializableBuilderClass

        public static Class<? extends Node.Builder> serializableBuilderClass()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)