Interface HandleActivation


public interface HandleActivation
An interface that describe an object that can be activated.
Since:
1.0.11
Version:
"1.0.14" - b202111241200L
Author:
Julien SEINTURIER - Université de Toulon / CNRS LIS umr 7020 - github.com/jorigin/jcommon (contact@jorigin.org)
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Get if the object can be activated.
    boolean
    Get if the object is activated.
    void
    setStateActivable(boolean activable)
    Set if the object can be activated.
    void
    setStateActivated(boolean activated)
    Set if the object is activated.
  • Method Details

    • isStateActivated

      boolean isStateActivated()
      Get if the object is activated.
      Returns:
      true if the object is activated and false otherwise.
      See Also:
    • setStateActivated

      void setStateActivated(boolean activated)
      Set if the object is activated. This method has to modify the activation state only if its activability is set to true
      Parameters:
      activated - true if the object can be activated and false otherwise.
      See Also:
    • isStateActivable

      boolean isStateActivable()
      Get if the object can be activated.
      Returns:
      true if the object activation state can be modified and false otherwise.
      See Also:
    • setStateActivable

      void setStateActivable(boolean activable)
      Set if the object can be activated.
      Parameters:
      activable - true if the object activation state can be modified and false otherwise.
      See Also: