Is there a way to declare a $test$plusargs inside uvm class?

In reply to dave_59:

Hi Dave

Sorry I was not clear enough. I meant - can we declare commandline +arg inside a class?

I have a scenario where I randomly want to declare or not declare +arg without changing the tb environment.

thanks