All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.arachnidium.model.support.annotations.classdeclaration.IfMobileAndroidActivity Maven / Gradle / Ivy

There is a newer version: 0.9.9.9-BETA
Show newest version
package com.github.arachnidium.model.support.annotations.classdeclaration;

import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Is used when mobile screen needs to be identified
 * by Android activity. Is ignored by iOS.
 * 
 * This annotation is for
 * UI specifications when it is 
 * possible to identify UI by Android activity or
 * the set of activities
 * 
 * If there is only one activity 
 * 

* *

@IfMobileAndroidActivity(regExp = "WebViewActivity") *

public class ... * * * If UI is the same but it is possible more than one activity *

* *

@IfMobileAndroidActivity(regExp = "WebViewActivity") *

@IfMobileAndroidActivity(regExp = "SomeOneActivity") *

public class ... * * Each activity can be specified by regular expression. */ @Target(value = ElementType.TYPE) @Retention(value = RetentionPolicy.RUNTIME) @Repeatable(IfMobileAndroidActivities.class) public @interface IfMobileAndroidActivity { /** * @return The activity specification */ String regExp(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy