Drupal 8 Ckeditor custom plugin

I am developing a custom ckeditor plugin.
Every text format has its own configuration for plugins. I need to get the format name (Basic HTML, Full HTML , ..) in my plugin class definition.
How can i achieve this?

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/4/feed