apex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandesh Hegde <sand...@datatorrent.com>
Subject Re: property for application name
Date Mon, 20 Jun 2016 18:00:41 GMT
My previous mail was for getting the name, here is the answer for setting
the name

<property>
  <name>dt.attr.APPLICATION_NAME</name>
  <value>Hello World</value>
</property>




On Mon, Jun 20, 2016 at 10:48 AM Sandesh Hegde <sandesh@datatorrent.com>
wrote:

> Within the Operator,  you can do the following to get the name.
>
> context.getValue(Context.DAGContext.APPLICATION_NAME); ( Application name
> is part of the DAG context )
>
> On Mon, Jun 20, 2016 at 10:07 AM Raja.Aravapalli <
> Raja.Aravapalli@target.com> wrote:
>
>>
>> Hi,
>>
>> Curious to know, Is there a property to pass the application name from
>> properties.xml file ?
>>
>>
>> Regards,
>> Raja.
>>
>

Mime
View raw message