Class ProgressTaskId


  • public class ProgressTaskId
    extends java.lang.Object
    The ID of a progress task. It is required to run tasks in background
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String id  
    • Constructor Summary

      Constructors 
      Constructor Description
      ProgressTaskId​(java.lang.String component, java.lang.String task)
      Create a new ProgressTaskId
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getId()
      Gets the id
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        private final java.lang.String id
    • Constructor Detail

      • ProgressTaskId

        public ProgressTaskId​(java.lang.String component,
                              java.lang.String task)
        Create a new ProgressTaskId
        Parameters:
        component - The JOSM component name that creates this id
        task - The task name
    • Method Detail

      • getId

        public java.lang.String getId()
        Gets the id
        Returns:
        The task id
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object