Reusing same plugin for both oxygen author and oxygen content fusion

17 Views Asked by At

Is there a way to reuse the same plugin such as an ‘if’ condition to check

if(Oxygen XML Author){

steps 1 and 2

} else if (Oxygen content Fusion){

steps say 3 and 4

}

What is the format of ‘if’condition to be checked if the plugin is being run in oxygen author or content fusion so I can reuse the same plugin in both the places (Note: we use java 11 to develop the plugin)?

0

There are 0 best solutions below